Skip to content

Commit 91b7cd9

Browse files
committed
chore: CI- disable release to PyPi and update changelog to prepare for 0.9.1
1 parent 6ed6fd5 commit 91b7cd9

File tree

1 file changed

+46
-46
lines changed

1 file changed

+46
-46
lines changed

.github/workflows/ci_cd.yml

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -131,24 +131,24 @@ jobs:
131131
library-name: ${{ env.PACKAGE_NAME }}
132132
python-version: ${{ env.MAIN_PYTHON_VERSION }}
133133

134-
release:
135-
name: Release project
136-
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
137-
needs: [ package ]
138-
runs-on: ubuntu-latest
139-
steps:
140-
- name: Release to the public PyPI repository
141-
uses: ansys/actions/release-pypi-public@v9
142-
with:
143-
library-name: ${{ env.PACKAGE_NAME }}
144-
twine-username: "__token__"
145-
twine-token: ${{ secrets.PYPI_TOKEN }}
146-
147-
- name: Release to GitHub
148-
uses: ansys/actions/release-github@v9
149-
with:
150-
library-name: ${{ env.PACKAGE_NAME }}
151-
token: ${{ secrets.GITHUB_TOKEN }}
134+
# release:
135+
# name: Release project
136+
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
137+
# needs: [ package ]
138+
# runs-on: ubuntu-latest
139+
# steps:
140+
# - name: Release to the public PyPI repository
141+
# uses: ansys/actions/release-pypi-public@v9
142+
# with:
143+
# library-name: ${{ env.PACKAGE_NAME }}
144+
# twine-username: "__token__"
145+
# twine-token: ${{ secrets.PYPI_TOKEN }}
146+
#
147+
# - name: Release to GitHub
148+
# uses: ansys/actions/release-github@v9
149+
# with:
150+
# library-name: ${{ env.PACKAGE_NAME }}
151+
# token: ${{ secrets.GITHUB_TOKEN }}
152152

153153
upload_dev_docs:
154154
name: Upload dev documentation
@@ -164,31 +164,31 @@ jobs:
164164
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
165165
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
166166

167-
upload_docs_release:
168-
name: Upload release documentation
169-
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
170-
runs-on: ubuntu-latest
171-
needs: [ release ]
172-
steps:
173-
- name: Deploy the stable documentation
174-
uses: ansys/actions/doc-deploy-stable@v9
175-
with:
176-
cname: ${{ env.DOCUMENTATION_CNAME }}
177-
token: ${{ secrets.GITHUB_TOKEN }}
178-
python-version: ${{ env.MAIN_PYTHON_VERSION }}
179-
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
180-
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
181-
182-
update-changelog:
183-
name: "Update CHANGELOG (on release)"
184-
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
185-
runs-on: ubuntu-latest
186-
permissions:
187-
contents: write
188-
pull-requests: write
189-
steps:
190-
- uses: ansys/actions/doc-deploy-changelog@v9
191-
with:
192-
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
193-
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
194-
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
167+
# upload_docs_release:
168+
# name: Upload release documentation
169+
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
170+
# runs-on: ubuntu-latest
171+
# needs: [ release ]
172+
# steps:
173+
# - name: Deploy the stable documentation
174+
# uses: ansys/actions/doc-deploy-stable@v9
175+
# with:
176+
# cname: ${{ env.DOCUMENTATION_CNAME }}
177+
# token: ${{ secrets.GITHUB_TOKEN }}
178+
# python-version: ${{ env.MAIN_PYTHON_VERSION }}
179+
# bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
180+
# bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
181+
182+
# update-changelog:
183+
# name: "Update CHANGELOG (on release)"
184+
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
185+
# runs-on: ubuntu-latest
186+
# permissions:
187+
# contents: write
188+
# pull-requests: write
189+
# steps:
190+
# - uses: ansys/actions/doc-deploy-changelog@v9
191+
# with:
192+
# token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
193+
# bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
194+
# bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}

0 commit comments

Comments
 (0)