From 306bb1370adc7465a1400ff3fce4538c8f9da26a Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Sat, 22 Jun 2024 01:48:30 -0400 Subject: [PATCH] upload new package versions to coastalcommits as well --- .forgejo/workflows/actions.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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