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:
workflow_run:
workflows: Check library
branches: main
types: completed
push:
tags:
- '*'
jobs:
deploy:
if: github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags')
publish:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU

View file

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