Change triggers

This commit is contained in:
Andras Schmelczer 2022-06-25 19:47:53 +02:00
parent 60302ed1bc
commit 9be46a7f04
2 changed files with 9 additions and 15 deletions

View file

@ -1,15 +1,12 @@
name: Deploy to DockerHub name: Publish on DockerHub
on: on:
workflow_run: push:
workflows: Check library tags:
branches: main - '*'
types: completed
jobs: jobs:
deploy: publish:
if: github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up QEMU - name: Set up QEMU

View file

@ -1,15 +1,12 @@
name: Publish package name: Publish on PyPI
on: on:
workflow_run: push:
workflows: Check library tags:
branches: main - '*'
types: completed
jobs: jobs:
publish: publish:
if: github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3