mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 11:47:04 +05:30
github: only deploy snapshot from main branch
This commit is contained in:
parent
cc003020f6
commit
a6f2c0356b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -62,7 +62,7 @@ jobs:
|
|||
|
||||
deploy-release-snapshot:
|
||||
runs-on: ubuntu-latest
|
||||
if: "github.event_name == 'push'"
|
||||
if: "github.event_name == 'push' && github.event.ref == 'refs/heads/main'"
|
||||
needs: [ "run-unit-tests", "stylecheck" ]
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue