Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanodallapalma authored Nov 11, 2020
1 parent 915c281 commit a69ccf3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ jobs:
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Trigger next workflow to publish on Dockerhub
if: success()
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
event-type: trigger-workflow-docker
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

0 comments on commit a69ccf3

Please sign in to comment.