Skip to content

Commit 06db4c7

Browse files
committed
add app-id and app-private-key inputs for GitHub App authentication
1 parent c93ebbf commit 06db4c7

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

action.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,21 @@ inputs:
4949
description: "Whether or not to deploy the site to the root of the custom container (true) or to a subfolder named after the repository (false)"
5050
required: false
5151
default: false
52+
app-id:
53+
description: "GitHub App ID for authentication"
54+
required: true
55+
app-private-key:
56+
description: "GitHub App private key for authentication"
57+
required: true
5258
runs:
5359
using: "composite"
5460
steps:
5561
- name: Generate GitHub App Token
5662
id: app-token
5763
uses: actions/create-github-app-token@v2
5864
with:
59-
app_id: ${{ vars.DEVELOPER_DOCS_APP_ID }}
60-
private_key: ${{ secrets.DEVELOPER_DOCS_APP_KEY }}
65+
app_id: ${{ inputs.app-id }}
66+
private_key: ${{ inputs.app-private-key }}
6167

6268
- name: Check out base repository
6369
uses: actions/checkout@v5

0 commit comments

Comments
 (0)