Skip to content

Commit 2f8111b

Browse files
authored
Deploy site when changes occur in "main" branch
1 parent 2531c94 commit 2f8111b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-website.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
on:
22
push:
3-
branches: deploy
3+
branches: main
44
name: Build and deploy GH Pages
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8-
if: github.ref == 'refs/heads/deploy'
8+
if: github.ref == 'refs/heads/main'
99
steps:
1010
- name: checkout
1111
uses: actions/checkout@v2

0 commit comments

Comments
 (0)