Fix trigger
This commit is contained in:
parent
ce729ce7b0
commit
331b401d39
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:
|
||||
deploy:
|
||||
if: |
|
||||
github.event.workflow_run.conclusion == 'success'
|
||||
&& github.event_name == 'push'
|
||||
&& startsWith(github.ref, 'refs/tags')
|
||||
if: github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags')
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
|||
7
.github/workflows/publish.yaml
vendored
7
.github/workflows/publish.yaml
vendored
|
|
@ -7,11 +7,8 @@ on:
|
|||
types: completed
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: |
|
||||
github.event.workflow_run.conclusion == 'success'
|
||||
&& github.event_name == 'push'
|
||||
&& startsWith(github.ref, 'refs/tags')
|
||||
publish:
|
||||
if: github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags')
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue