Merge pull request #3 from numtide/fix/ci-deploy-pages-on-main

ci: only deploy github pages on main
This commit is contained in:
Brian McGee 2024-05-06 16:07:44 +01:00 committed by GitHub
commit b7458e6530
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,8 +4,6 @@ on:
push:
branches:
- main
- staging
- trying
pull_request:
workflow_dispatch:
@ -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