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: push:
branches: branches:
- main - main
- staging
- trying
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
@ -43,6 +41,7 @@ jobs:
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: deploy name: deploy
if: github.ref == 'refs/heads/main'
steps: steps:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment