File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 77jobs :
88 main :
99 runs-on : ubuntu-latest
10+ permissions :
11+ id-token : write
12+ contents : write
13+ environment : pypi
1014 steps :
1115 - uses : actions/checkout@v4
1216 - name : Set up Python 3.10
1923 - name : Build package
2024 run : |
2125 make build
26+ - name : Publish package to Pypi
27+ uses : pypa/gh-action-pypi-publish@release/v1
2228 env :
23- TWINE_USERNAME : ${{ secrets.pypi_username }}
24- TWINE_PASSWORD : ${{ secrets.pypi_password }}
29+ repository-url : https://pypi.org/project/UnleashClient/
2530 - name : Build docs
2631 run : |
2732 make install-docs
3136 uses : peaceiris/actions-gh-pages@v3
3237 with :
3338 github_token : ${{ secrets.GITHUB_TOKEN }}
34- publish_dir : ./docs/_build/html
35- - name : Notify Slack of pipeline completion
36- uses : 8398a7/action-slack@v2
37- with :
38- status : ${{ job.status }}
39- author_name : Github Action
40- env :
41- GITHUB_TOKEN : ${{ secrets.github_slack_token }}
42- SLACK_WEBHOOK_URL : ${{ secrets.slack_webhook }}
43- if : always()
39+ publish_dir : ./docs/_build/htmlg
You can’t perform that action at this time.
0 commit comments