Fix trigger

This commit is contained in:
Andras Schmelczer 2022-06-25 19:21:58 +02:00
parent c0f7ce5b25
commit c09cc7e238
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
2 changed files with 3 additions and 9 deletions

View file

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

View file

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