Skip to content

Commit fd23b21

Browse files
committed
Added permission in yml
1 parent aa107a5 commit fd23b21

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: write
10+
pages: write
11+
812
jobs:
913
build:
1014
name: Build
@@ -46,4 +50,4 @@ jobs:
4650
uses: peaceiris/actions-gh-pages@v3
4751
with:
4852
github_token: ${{ secrets.GITHUB_TOKEN }}
49-
publish_dir: ./dist
53+
publish_dir: ./dist

0 commit comments

Comments
 (0)