Skip to content

Commit e433c2a

Browse files
committed
Use GH secrets
1 parent 8a9cc6b commit e433c2a

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/publish-release.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ on:
1515
jobs:
1616
publish_release:
1717
runs-on: ubuntu-latest
18-
permissions:
19-
# This is useful if you want to use PyPI trusted publisher
20-
# and NPM provenance
21-
id-token: write
2218
steps:
2319
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
2420

@@ -35,10 +31,8 @@ jobs:
3531
id: finalize-release
3632
env:
3733
# The following are needed if you use legacy PyPI set up
38-
# PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
39-
# PYPI_TOKEN_MAP: ${{ secrets.PYPI_TOKEN_MAP }}
40-
# TWINE_USERNAME: __token__
41-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
34+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
35+
TWINE_USERNAME: __token__
4236
uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2
4337
with:
4438
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)