We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7aa7b3f commit 6f58118Copy full SHA for 6f58118
.github/workflows/publish.yaml
@@ -4,13 +4,19 @@ on:
4
release:
5
types:
6
- published
7
+ workflow_dispatch:
8
concurrency:
9
group: ${{ github.workflow }}
10
jobs:
11
pypi-publish:
12
name: PyPI
13
if: github.repository_owner == 'juftin'
14
runs-on: ubuntu-latest
15
+ environment:
16
+ name: pypi
17
+ url: https://pypi.org/p/camply
18
+ permissions:
19
+ id-token: write
20
steps:
21
- name: Check out the repository
22
uses: actions/checkout@v4
@@ -29,10 +35,7 @@ jobs:
29
35
run: |
30
36
hatch build
31
37
- name: Publish package on PyPI
32
- uses: pypa/[email protected]
33
- with:
34
- user: __token__
- password: ${{ secrets.PYPI_TOKEN }}
38
+ uses: pypa/gh-action-pypi-publish@release/v1
39
40
docker-hub-publish:
41
name: docker-hub
0 commit comments