Skip to content

Commit 38dc3f4

Browse files
committed
Fix releaser.yml
1 parent 8e6bc49 commit 38dc3f4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/releaser.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
name: "Deploy live documentation"
1010
runs-on: ubuntu-latest
1111
if: startsWith(github.ref, 'refs/tags/v')
12+
permissions:
13+
contents: write
1214
steps:
1315
- uses: actions/checkout@v3
1416

@@ -38,7 +40,7 @@ jobs:
3840
repository-name: pyansys/DPF-Post-docs
3941
commit-message: Documentation generated for ${{ steps.get_version.outputs.VERSION }}
4042
clean-exclude: "CNAME"
41-
tag: ${{ steps.get_version.outputs.VERSION }}
43+
tag: doc-${{ steps.get_version.outputs.VERSION }}
4244

4345
Publish_to_PyPi:
4446
name: Publish to PyPi
@@ -62,8 +64,8 @@ jobs:
6264
- name: "Upload to Public PyPi"
6365
run: |
6466
pip install twine
65-
twine upload --skip-existing ./**/*.whl
66-
twine upload --skip-existing ./**/*.tar.gz
67+
twine upload --skip-existing *.whl
68+
twine upload --skip-existing *.tar.gz
6769
env:
6870
TWINE_USERNAME: __token__
6971
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)