Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Mar 27, 2024
1 parent f21a242 commit c2e7fa7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
buildx:
runs-on: ubuntu-latest
environment: dockerhub
steps:
- uses: actions/checkout@v4
with:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-latest

environment: pypi
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:

- uses: actions/checkout@v4
with:
ref: master

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
Expand All @@ -28,6 +33,3 @@ jobs:
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_api_key }}

0 comments on commit c2e7fa7

Please sign in to comment.