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 6a0e6ad commit f63db10Copy full SHA for f63db10
.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@v2
@@ -48,7 +50,7 @@ jobs:
48
50
if: ${{ github.ref == 'refs/heads/main' }} # Publish only when the push is on main
49
51
uses: peaceiris/[email protected]
52
with:
- github_token: ${{ secrets.PUBLISH_TOKEN }}
53
+ github_token: ${{ secrets.GITHUB_TOKEN }}
54
publish_branch: gh-pages
55
publish_dir: build/wwwroot
56
allow_empty_commit: false
0 commit comments