We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2590302 commit 9027f4eCopy full SHA for 9027f4e
.github/workflows/main.yml
@@ -10,6 +10,8 @@ on:
10
jobs:
11
build:
12
runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: write
15
steps:
16
# Checkout the code
17
- uses: actions/checkout@v4
@@ -42,7 +44,7 @@ jobs:
42
44
if: ${{ github.ref == 'refs/heads/main' }} # Publish only when the push is on main
43
45
uses: peaceiris/actions-gh-pages@v3
46
with:
- github_token: ${{ secrets.PUBLISH_TOKEN }}
47
+ github_token: ${{ secrets.GITHUB_TOKEN }}
48
publish_branch: gh-pages
49
publish_dir: build/wwwroot
50
allow_empty_commit: false
0 commit comments