Skip to content

Commit

Permalink
Merge pull request #9 from astronomer/cicd
Browse files Browse the repository at this point in the history
hotfix cicd: separate pypi and gh release
  • Loading branch information
fritz-astronomer authored Aug 28, 2024
2 parents 9e7def9 + f12e8b3 commit bb2db05
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 bb2db05

Please sign in to comment.