Restrict deployment workflow to main
This commit is contained in:
parent
56077a22b7
commit
ce32eb067c
3 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue