From f12e8b3a7d99b845229410c866148f3faf272157 Mon Sep 17 00:00:00 2001 From: fritz-astronomer <80706212+fritz-astronomer@users.noreply.github.com> Date: Tue, 27 Aug 2024 22:19:20 -0400 Subject: [PATCH] hotfix cicd: separate pypi and gh release --- .github/workflows/deploy.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7886962..add0912 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,7 +22,7 @@ jobs: name: dist path: dist/ - release: + gh_release: needs: build runs-on: "ubuntu-latest" steps: @@ -34,6 +34,19 @@ jobs: generate_release_notes: true files: | dist/* + + pypi_release: + needs: build + runs-on: "ubuntu-latest" + environment: + name: pypi + url: https://pypi.org/p/orbiter-community-translations + permissions: + id-token: + write + steps: + - uses: actions/download-artifact@v4 + - run: ls -R - uses: pypa/gh-action-pypi-publish@release/v1 with: skip-existing: true