Skip to content

Commit 10c7644

Browse files
Add PAGES_DEPLOY_TOKEN support for org repo Pages deployment
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 9c67c1c commit 10c7644

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/configure-pages@v5
18+
with:
19+
enablement: true
20+
token: ${{ secrets.PAGES_DEPLOY_TOKEN || github.token }}
1821
- uses: actions/checkout@v5
1922
- uses: actions/setup-python@v5
2023
with:
@@ -224,3 +227,5 @@ jobs:
224227
path: site
225228
- uses: actions/deploy-pages@v4
226229
id: deployment
230+
with:
231+
token: ${{ secrets.PAGES_DEPLOY_TOKEN || github.token }}

0 commit comments

Comments
 (0)