Fix trigger

This commit is contained in:
Andras Schmelczer 2022-06-25 19:21:58 +02:00
parent ce729ce7b0
commit 331b401d39
2 changed files with 3 additions and 9 deletions

View file

@ -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:

View file

@ -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: