8000 publish release · Christian06810/python-sasctl@c9b5ef7 · GitHub
[go: up one dir, main page]

Skip to content

Commit c9b5ef7

Browse files
committed
publish release
1 parent ba3bf26 commit c9b5ef7

File tree

1 file changed

+21
-12
lines changed

1 file changed

+21
-12
lines changed

.github/workflows/build-test-deploy.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -167,22 +167,31 @@ jobs:
167167
run: ls -R
168168

169169
- name: Create Release
170+
id: create_release
170171
uses: softprops/action-gh-release@v1
171172
with:
172173
draft: true
173174
body_path: release_notes.md
174175
body: ""
176+
files: documentation.zip
175177

176-
# - name: Deploy documentation
177-
# uses: peaceiris/actions-gh-pages@v3
178-
# with:
179-
# github_token: ${{ secrets.GITHUB_TOKEN }}
180-
# publish_dir: ./html-docs
181-
#
182-
# - name: Publish to PyPI
183-
# uses: pypa/gh-action-pypi-publish@release/v1
184-
# with:
185-
# user: __token__
186-
# password: ${{ secrets.PYPI_API_TOKEN }}
187-
# verbose: true
178+
- name: Deploy documentation
179+
uses: peaceiris/actions-gh-pages@v3
180+
with:
181+
github_token: ${{ secrets.GITHUB_TOKEN }}
182+
publish_dir: ./html-docs
183+
184+
- name: Publish to PyPI
185+
uses: pypa/gh-action-pypi-publish@release/v1
186+
with:
187+
user: __token__
188+
password: ${{ secrets.PYPI_API_TOKEN }}
189+
verbose: true
190+
191+
- name: Publish release
192+
uses: StuYarrow/publish-release@v1
193+
env:
194+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
195+
with:
196+
id: ${{ steps.create_release.outputs.id }}
188197

0 commit comments

Comments
 (0)
0