upload new package versions to coastalcommits as well
This commit is contained in:
parent
a6f80a49d5
commit
306bb1370a
1 changed files with 8 additions and 1 deletions
|
@ -1,7 +1,6 @@
|
||||||
name: Actions
|
name: Actions
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build:
|
Build:
|
||||||
|
@ -23,6 +22,14 @@ jobs:
|
||||||
name: stellarismodparser
|
name: stellarismodparser
|
||||||
path: ./dist/*
|
path: ./dist/*
|
||||||
|
|
||||||
|
- name: Publish to CoastalCommits
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
uses: actions/pypi-publish@v1.8.14
|
||||||
|
with:
|
||||||
|
username: ${{ github.repsoitory_owner }}
|
||||||
|
password: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||||
|
repository_url: https://www.coastalcommits.com/api/packages/${{ github.repository_owner }}/pypi
|
||||||
|
|
||||||
- name: Publish to PyPi
|
- name: Publish to PyPi
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
uses: actions/pypi-publish@v1.8.14
|
uses: actions/pypi-publish@v1.8.14
|
||||||
|
|
Loading…
Reference in a new issue