Skip to content

Commit

Permalink
Merge pull request #3 from numtide/fix/ci-deploy-pages-on-main
Browse files Browse the repository at this point in the history
ci: only deploy github pages on main
  • Loading branch information
brianmcgee authored May 6, 2024
2 parents 243d1be + 73a224a commit b7458e6
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 b7458e6

Please sign in to comment.