Skip to content

Commit

Permalink
Update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
timmo001 committed Mar 13, 2021
1 parent 73bcb4e commit aea05ee
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/pypi.yml → .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
---
name: Upload Python Package
name: Deploy

# yamllint disable-line rule:truthy
on:
release:
types: [created]
types:
- published
workflow_run:
workflows: ["CI"]
branches: [master]
types:
- completed

jobs:
deploy:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand Down

0 comments on commit aea05ee

Please sign in to comment.