Skip to content

Commit

Permalink
hotfix cicd: separate pypi and gh release
Browse files Browse the repository at this point in the history
  • Loading branch information
fritz-astronomer committed Aug 28, 2024
1 parent 9e7def9 commit f12e8b3
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: dist
path: dist/

release:
gh_release:
needs: build
runs-on: "ubuntu-latest"
steps:
Expand All @@ -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

0 comments on commit f12e8b3

Please sign in to comment.