Skip to content

Commit 9f5dd6f

Browse files
committed
[CI] deployment permissions docs
1 parent ed20e5b commit 9f5dd6f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/wheel.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,10 @@ jobs:
336336
url: ${{ steps.deployment.outputs.page_url }}
337337
runs-on: ubuntu-latest
338338
needs: [docs, check-release, test-linux-x]
339-
if: ${{ github.event.action == 'released' || github.event.action == 'prereleased' }}
339+
permissions:
340+
id-token: write
341+
pages: write
342+
contents: read
340343
steps:
341344
- name: Deploy to GitHub Pages
342345
id: deployment

0 commit comments

Comments
 (0)