Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
增加github action自动发布功能[skip ci]
  • Loading branch information
wangwei1237 authored May 25, 2021
1 parent 3e8b810 commit 0b4bb64
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
asset_path: digital_video_concepts.tar.gz
asset_name: digital_video_concepts.tar.gz
asset_content_type: application/octet-stream
#- name: trigger the wangwei1237.github.io_src deploy
#run: |
#curl -X POST \
#-H "Accept: application/vnd.github.v3+json" \
#-H "Authorization: token ${{ secrets.TOKEN }}" \
#https://api.github.com/repos/wangwei1237/wangwei1237.github.io_src/dispatches \
#-d '{"event_type":"update"}'
- name: trigger the wangwei1237.github.io_src deploy
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.TOKEN }}" \
https://api.github.com/repos/wangwei1237/wangwei1237.github.io_src/dispatches \
-d '{"event_type":"update"}'

0 comments on commit 0b4bb64

Please sign in to comment.