File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 3939 with :
4040 token : ${{ secrets.GITHUB_TOKEN }}
4141
42+ update-changelog :
43+ name : " Update CHANGELOG (on release)"
44+ if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
45+ runs-on : ubuntu-latest
46+ permissions :
47+ contents : write
48+ pull-requests : write
49+ steps :
50+ - uses : ansys/actions/doc-deploy-changelog@v6
51+ with :
52+ token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
53+
4254 doc-build :
4355 name : Doc building
4456 runs-on : ubuntu-latest
@@ -109,7 +121,7 @@ jobs:
109121 release :
110122 name : " Release project to private PyPI, public PyPI and GitHub"
111123 if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
112- needs : build-library
124+ needs : [ build-library, update-changelog]
113125 runs-on : ubuntu-latest
114126 steps :
115127
Original file line number Diff line number Diff line change 1+ fix: add changelog action in ci-cd
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
55[project ]
66# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
77name = " ansys-sphinx-theme"
8- version = " 0.16.0 "
8+ version = " 0.16.1 "
99description = " A theme devised by ANSYS, Inc. for Sphinx documentation."
1010readme = " README.rst"
1111requires-python = " >=3.9,<4"
You can’t perform that action at this time.
0 commit comments