Skip to content

Commit

Permalink
wip7
Browse files Browse the repository at this point in the history
  • Loading branch information
EliMoshkovich committed Jul 23, 2024
1 parent 84f3c90 commit 88b2456
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,10 @@ jobs:
# - Pushes images (built at BUILD PHASE) to docker hub.
docker_build_and_publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/permit
permissions:
id-token: write
contents: write # 'write' access to repository contents
pull-requests: write # 'write' access to pull requests
# pull-requests: write # 'write' access to pull requests
steps:
# BUILD PHASE
- name: Checkout
Expand Down Expand Up @@ -209,17 +206,26 @@ jobs:
with:
password: ${{ secrets.PYPI_TOKEN }}
packages-dir: packages/opal-common/
env:
name: pypi
url: https://pypi.org/p/opal-common

- name: Publish package distributions to PyPI - Opal-Client
if: github.event_name == 'release' && github.event.action == 'created'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
packages-dir: packages/opal-client/
env:
name: pypi
url: https://pypi.org/p/opal-client

- name: Publish package distributions to PyPI - Opal-Server
if: github.event_name == 'release' && github.event.action == 'created'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
packages-dir: packages/opal-server/
env:
name: pypi
url: https://pypi.org/p/opal-server

0 comments on commit 88b2456

Please sign in to comment.