Skip to content

Commit 25a9a9e

Browse files
committed
Fix deployment: add write permissions for GITHUB_TOKEN
1 parent 08f2074 commit 25a9a9e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
workflow_dispatch:
66
jobs:
77
build-and-deploy:
8+
permissions:
9+
contents: write
810
runs-on: ubuntu-latest
911
steps:
1012
- name: Checkout 🛎️
@@ -20,3 +22,4 @@ jobs:
2022
with:
2123
branch: gh-pages # The branch the action should deploy to.
2224
folder: build # The folder the action should deploy.
25+
clean: true

0 commit comments

Comments
 (0)