This commit is contained in:
2019-09-16 08:31:47 -04:00
parent dd29ba4ed4
commit 617f6cb708
+16 -6
View File
@@ -1,6 +1,16 @@
- name: Publish Bake on PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
name: Bake PyPI Distribution™
on: [push]
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
jobs:
build:
runs-on: latest-ubuntu
steps:
- uses: actions/checkout@v1
- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}