Skip to content

Commit bbadbc7

Browse files
committed
ci: automatically build website
1 parent 2943536 commit bbadbc7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Build and Deploy
33
on:
44
workflow_call:
55
workflow_dispatch:
6+
push:
7+
branches:
8+
- master
69

710
jobs:
811
build-and-deploy:
@@ -34,7 +37,7 @@ jobs:
3437

3538
- name: Deploy to external repository
3639
uses: peaceiris/actions-gh-pages@v3
37-
if: github.ref == 'refs/heads/main'
40+
if: github.ref == 'refs/heads/master'
3841
with:
3942
github_token: ${{ secrets.GITHUB_TOKEN }}
4043
publish_dir: ./out

0 commit comments

Comments
 (0)