Restrict deployment workflow to main
All checks were successful
CI / check (push) Successful in 17s
CI / deploy (push) Successful in 21s

This commit is contained in:
kacper 2026-04-15 06:39:26 -04:00
parent 56077a22b7
commit ce32eb067c
3 changed files with 7 additions and 3 deletions

View file

@ -5,6 +5,8 @@ on:
branches:
- main
pull_request:
branches:
- main
jobs:
check:
@ -57,7 +59,7 @@ jobs:
runs-on: docker
needs:
- check
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
steps:
- name: Install deploy tooling