Fix trigger
This commit is contained in:
parent
c0f7ce5b25
commit
c09cc7e238
2 changed files with 3 additions and 9 deletions
5
.github/workflows/docker.yaml
vendored
5
.github/workflows/docker.yaml
vendored
|
|
@ -8,10 +8,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
if: |
|
if: github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags')
|
||||||
github.event.workflow_run.conclusion == 'success'
|
|
||||||
&& github.event_name == 'push'
|
|
||||||
&& startsWith(github.ref, 'refs/tags')
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
7
.github/workflows/publish.yaml
vendored
7
.github/workflows/publish.yaml
vendored
|
|
@ -7,11 +7,8 @@ on:
|
||||||
types: completed
|
types: completed
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
publish:
|
||||||
if: |
|
if: github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags')
|
||||||
github.event.workflow_run.conclusion == 'success'
|
|
||||||
&& github.event_name == 'push'
|
|
||||||
&& startsWith(github.ref, 'refs/tags')
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue