Skip to content

Commit

Permalink
ci: only deploy github pages on main
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmcgee committed May 6, 2024
1 parent 243d1be commit 73a224a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
- staging
- trying
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -43,6 +41,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
name: deploy
if: github.ref == 'refs/heads/main'
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 73a224a

Please sign in to comment.