GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” feat(gh-actions): ๐Ÿš€ Tentative change generate token as composite ยท zerodaycode/app-summoners-sync@c807a7c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github
    • actions/generate-token
      • action.yml
    • workflows
      • deploy-project.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

โ€Ž.github/actions/generate-token/action.ymlโ€Ž

Copy file name to clipboardExpand all lines: .github/actions/generate-token/action.yml
+10-2Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
name: 'Generate GitHub App Token'
22
description: 'Generates a GitHub App token'
3+
inputs:
4+
app-id:
5+
description: 'GitHub App ID'
6+
required: true
7+
private-key:
8+
description: 'GitHub App Private Key'
9+
required: true
10+
311
outputs:
412
token:
513
description: 'Generated GitHub App Token'
@@ -12,6 +20,6 @@ runs:
1220
uses: actions/create-github-app-token@v1
1321
id: generate-zdc-token
1422
with:
15-
app-id: ${{ vars.ZDC_AUTH_APP_ID }}
16-
private-key: ${{ secrets.ZDC_AUTH_PRIVATE_KEY }}
23+
app-id: ${{ inputs.app-id }}
24+
private-key: ${{ inputs.private-key }}
1725
owner: ${{ github.repository_owner }}
Collapse file

โ€Ž.github/workflows/deploy-project.ymlโ€Ž

Copy file name to clipboardExpand all lines: .github/workflows/deploy-project.yml
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ jobs:
1818
- name: Generate Token
1919
id: generate-token
2020
uses: zerodaycode/app-summoners-sync/.github/actions/generate-token@develop
21-
21+
with:
22+
app-id: ${{ vars.ZDC_AUTH_APP_ID }}
23+
private-key: ${{ secrets.ZDC_AUTH_PRIVATE_KEY }}
24+
2225
- name: Trigger Deployment Workflow
2326
uses: actions/github-script@v7
2427
with:

0 commit comments

Comments
0 (0)
You are visitor 01402792 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.