Skip to content

Commit 3102084

Browse files
committed
replace GitHub App authentication with Personal Access Token
1 parent 7735ba1 commit 3102084

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

action.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,18 @@ 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"
52+
pat:
53+
description: "Personal Access Token for authentication"
5754
required: true
5855
runs:
5956
using: "composite"
6057
steps:
61-
- name: Generate GitHub App Token
62-
id: app-token
63-
uses: actions/create-github-app-token@v2
64-
with:
65-
app-id: ${{ inputs.app-id }}
66-
private-key: ${{ inputs.app-private-key }}
67-
6858
- name: Check out base repository
6959
uses: actions/checkout@v5
7060
with:
71-
repository: bcc-code/developer.bcc.no
61+
repository: bcc-code/bcc-developer-docs
7262
ref: master
73-
token: ${{ steps.app-token.outputs.token }}
63+
token: ${{ inputs.pat }}
7464

7565
- name: Check out current repository
7666
uses: actions/checkout@v5

0 commit comments

Comments
 (0)