File tree Expand file tree Collapse file tree 1 file changed +21
-12
lines changed Expand file tree Collapse file tree 1 file changed +21
-12
lines changed Original file line number Diff line number Diff line change @@ -167,22 +167,31 @@ jobs:
167
167
run : ls -R
168
168
169
169
- name : Create Release
170
+ id : create_release
170
171
uses : softprops/action-gh-release@v1
171
172
with :
172
173
draft : true
173
174
body_path : release_notes.md
174
175
body : " "
176
+ files : documentation.zip
175
177
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 }}
188
197
You can’t perform that action at this time.
0 commit comments