Skip to content

Commit 239c424

Browse files
committed
ci: fix release stage
1 parent 330d7f5 commit 239c424

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci_cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ jobs:
314314
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
315315
needs: [update-changelog, build-library]
316316
runs-on: ubuntu-latest
317+
permissions:
318+
contents: write
317319
steps:
318320
- name: "Release to the public PyPI repository"
319321
uses: ansys/actions/release-pypi-public@v8
@@ -326,6 +328,7 @@ jobs:
326328
uses: ansys/actions/release-github@v8
327329
with:
328330
library-name: ${{ env.PACKAGE_NAME }}
331+
token: ${{ secrets.GITHUB_TOKEN }}
329332

330333
doc-deploy-dev:
331334
name: "Deploy development documentation"

0 commit comments

Comments
 (0)