Skip to content

Commit baef9dd

Browse files
authored
add release
1 parent 025b89f commit baef9dd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/deploy.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,19 @@ jobs:
6969
env:
7070
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7171
with:
72-
upload_url: ${{ steps.upload_info.outputs.upload_url }}
72+
upload_url: ${{ steps.create_release.outputs.upload_url }}"
7373
asset_path: docs.tgz
7474
asset_name: docs.tgz
7575
asset_content_type: application/gzip
76+
- name: Set publish_info
77+
id: publish_info
78+
run: |
79+
echo "::set-output name=release_id::${{ steps.create_release.outputs.id }}"
80+
- uses: eregon/publish-release@v1
81+
env:
82+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83+
with:
84+
release_id: ${{ steps.publish_info.outputs.release_id }}
7685

7786
# Deployment job
7887
deploy:

0 commit comments

Comments
 (0)