diff --git a/.forgejo/workflows/actions.yaml b/.forgejo/workflows/actions.yaml index 66a6578..d61aa7d 100644 --- a/.forgejo/workflows/actions.yaml +++ b/.forgejo/workflows/actions.yaml @@ -1,7 +1,6 @@ name: Actions on: push: - pull_request: jobs: Build: @@ -23,6 +22,14 @@ jobs: name: stellarismodparser 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 if: startsWith(github.ref, 'refs/tags/') uses: actions/pypi-publish@v1.8.14