ci: only deploy github pages on main

This commit is contained in:
Brian McGee 2024-05-03 21:06:43 +01:00
parent 243d1be894
commit 73a224a5f9
No known key found for this signature in database
GPG Key ID: D49016E76AD1E8C0

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