Skip to content

Commit

Permalink
Deploy site when changes occur in "main" branch
Browse files Browse the repository at this point in the history
  • Loading branch information
colinkiama committed Aug 22, 2024
1 parent 2531c94 commit 2f8111b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-website.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
on:
push:
branches: deploy
branches: main
name: Build and deploy GH Pages
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/deploy'
if: github.ref == 'refs/heads/main'
steps:
- name: checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 2f8111b

Please sign in to comment.