Skip to content

Commit 3f47875

Browse files
committed
fix: use app token to push to gh-pages branch
1 parent a1aaf1f commit 3f47875

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,17 @@ jobs:
2828
- name: Build HTML Docs
2929
run: VERSION=${{ github.event.repository.default_branch }} JOBS=4 MODE=html make all
3030

31+
- uses: actions/create-github-app-token@v2
32+
id: app-token
33+
with:
34+
app-id: ${{ secrets.APP_ID }}
35+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
36+
3137
- name: Deploy PR Doc Preview
3238
uses: rossjrw/pr-preview-action@v1
3339
with:
3440
source-dir: ../cpython/Doc/build/html
35-
token: ${{ secrets.GITHUB_TOKEN }}
41+
token: ${{ steps.app-token.outputs.token }}
3642
preview-branch: gh-pages
3743
umbrella-dir: pr-preview
3844
action: auto

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy