Skip to content

Commit b7e5034

Browse files
authored
Merge pull request #69 from alan-turing-institute/add-missing-permissions
Update PyPI CI job
2 parents 522dfa3 + 08ce2e3 commit b7e5034

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish_pypi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
build-and-publish-to-pypi:
1212
name: Build distribution and publish to PyPI
1313
runs-on: ubuntu-latest
14+
environment:
15+
name: pypi
16+
url: https://pypi.org/project/apricot-server/
17+
permissions:
18+
id-token: write # needed for trusted publishing
1419
steps:
1520
- name: Check out the repo
1621
uses: actions/checkout@v4

0 commit comments

Comments
 (0)