File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "template" : " https://github.com/sphinx-notes/template" ,
3- "commit" : " 0b7d8aa478b37114cef369a217bd1d463e369d37 " ,
3+ "commit" : " 1701bf78ca498d756ce4502aa1712cfe23ed35af " ,
44 "checkout" : null ,
55 "context" : {
66 "cookiecutter" : {
Original file line number Diff line number Diff line change 1+ name : Publish New Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " *"
7+
8+ jobs :
9+ pypi :
10+ name : Publish package distributions to PyPI
11+ runs-on : ubuntu-latest
12+ environment :
13+ name : pypi
14+ url : https://pypi.org/p/sphinxnotes-snippet
15+ permissions :
16+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
17+ steps :
18+ - uses : actions/checkout@v4
19+ - uses : actions/setup-python@v5
20+ - run : pip install build twine && make dist
21+ - uses : pypa/gh-action-pypi-publish@release/v1
22+ with :
23+ password : ${{ secrets.PYPI_API_TOKEN }}
24+
25+ release :
26+ name : Publish Github Release
27+ needs : [pypi]
28+ runs-on : ubuntu-latest
29+ permissions :
30+ contents : write
31+ steps :
32+ - uses : actions/checkout@v4
33+ - uses : ncipollo/release-action@v1
34+ with :
35+ body : |
36+ Changelog: https://sphinx.silverrainz.me/snippet/changelog.html#version-${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments