Skip to content

Commit 610ba2b

Browse files
committed
Make deploy actually work
1 parent 223d947 commit 610ba2b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: ci
22

3+
permissions:
4+
contents: write
5+
36
on:
47
push:
58
branches:
@@ -86,7 +89,7 @@ jobs:
8689
8790
- name: Deploy on Github Pages
8891
uses: peaceiris/actions-gh-pages@v3
89-
if: ${{ matrix.deploy && (github.ref == 'refs/heads/main') }}
92+
if: ${{ matrix.deploy && (github.ref == 'refs/heads/master') }}
9093
with:
9194
github_token: ${{ secrets.GITHUB_TOKEN }}
9295
publish_dir: ./gh-pages-result

0 commit comments

Comments
 (0)