We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beef2a8 commit 4ce4a12Copy full SHA for 4ce4a12
.github/workflows/gh-pages-deploy.yaml
@@ -7,11 +7,14 @@ jobs:
7
gh-pages-deploy:
8
name: Deploying to GitHub Pages
9
runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: write
12
+ pages: write
13
+ id-token: write
14
+
15
steps:
16
- name: Checkout
17
uses: actions/checkout@v4
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
18
19
- name: Setup Python
20
uses: actions/setup-python@v4
README.md
@@ -30,5 +30,5 @@ And browse to `http://localhost:8080/`.
30
31
- Create branch called gh-pages
32
- Repository -> Settings -> Pages -> Source -> Github Actions or Deploy From A Branch
33
-- Ensure GITHUB_TOKEN is in gh-pages-deploy.yaml
+- Ensure gh-pages-deploy.yaml has proper permissions config
34
0 commit comments