Skip to content

Commit

Permalink
fix: token write
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni authored Nov 7, 2024
1 parent 42c0053 commit 88d538c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
name: PyPI deployment
runs-on: "ubuntu-latest"
if: github.event_name != 'push' || github.repository == 'DIRACGrid/DIRAC'
permissions:
id-token: write
attestations: write
contents: write
defaults:
run:
shell: bash -l {0}
Expand Down Expand Up @@ -125,7 +129,6 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
repository-url: https://upload.pypi.org/legacy/

deploy_CVMFS:
runs-on: "ubuntu-latest"
Expand Down

0 comments on commit 88d538c

Please sign in to comment.