mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 09:57: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:
|
deploy-release-snapshot:
|
||||||
runs-on: ubuntu-latest
|
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" ]
|
needs: [ "run-unit-tests", "stylecheck" ]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue