Skip to content

Commit e154552

Browse files
committed
ci: fix release action
1 parent c4e11eb commit e154552

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
@@ -133,6 +133,8 @@ jobs:
133133
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
134134
needs: [build-library]
135135
runs-on: ubuntu-latest
136+
permissions:
137+
contents: write
136138
steps:
137139
- name: "Release to the public PyPI repository"
138140
uses: ansys/actions/release-pypi-public@v8
@@ -145,6 +147,7 @@ jobs:
145147
uses: ansys/actions/release-github@v8
146148
with:
147149
library-name: ${{ env.LIBRARY_NAME }}
150+
token: ${{ secrets.GITHUB_TOKEN }}
148151

149152
doc-deploy-stable:
150153
name: "Deploy stable documentation"

0 commit comments

Comments
 (0)