We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe46733 commit 3fad43eCopy full SHA for 3fad43e
1 file changed
.github/workflows/tag.yml
@@ -0,0 +1,28 @@
1
+name: Tag and Publish every commit
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ tag:
10
+ runs-on: ubuntu-latest
11
+ environment:
12
+ name: pypi
13
+ url: https://pypi.org/p/sphinxnotes-project
14
+ permissions:
15
+ contents: write
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: '0'
20
+ - uses: anothrNick/github-tag-action@v1
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
+ CUSTOM_TAG: 1.0a${{ github.run_number }}
24
+ - uses: actions/setup-python@v5
25
+ - run: pip install build twine && make dist
26
+ - uses: pypa/gh-action-pypi-publish@release/v1
27
28
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments