Skip to content

Commit 9ffd5e8

Browse files
committed
ci(docs): use GitHub App client ID for docs publishing
Upgrade actions/create-github-app-token to v3 and authenticate with client-id instead of the deprecated app-id input. The client ID is read from the DOCS_PUBLISH_APP_CLIENT_ID repository variable. Signed-off-by: Frederic Pillon <frederic.pillon@st.com> Assisted-by: GitHub Copilot: Claude Haiku 5.5
1 parent 178e952 commit 9ffd5e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/publish-docs.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
run: |
3838
git config user.name "github-actions[bot]"
3939
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
40-
- uses: actions/create-github-app-token@v1
40+
- uses: actions/create-github-app-token@v3
4141
id: pages-token
4242
with:
43-
app-id: ${{ secrets.DOCS_PUBLISH_APP_ID }}
43+
client-id: ${{ vars.DOCS_PUBLISH_APP_CLIENT_ID }}
4444
private-key: ${{ secrets.DOCS_PUBLISH_APP_PRIVATE_KEY }}
4545
owner: stm32duino
4646
repositories: stm32duino.github.io

0 commit comments

Comments
 (0)