Skip to content

Commit a1acd4e

Browse files
Update with PyPi deploy
1 parent 5c77287 commit a1acd4e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,15 @@ jobs:
1818
docker run \
1919
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
2020
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
21+
22+
publish:
23+
name: Publish
24+
needs: build
25+
if: "success() && startsWith(github.ref, 'refs/tags/')"
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Publish package to PyPI
29+
uses: pypa/gh-action-pypi-publish@master
30+
with:
31+
user: __token__
32+
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)