cd.yaml: use deploy webhook
All checks were successful
Build && Deploy / cargo build (push) Successful in 52s
All checks were successful
Build && Deploy / cargo build (push) Successful in 52s
This commit is contained in:
parent
2ae58bbf99
commit
8a1fabeae7
@ -57,8 +57,11 @@ jobs:
|
|||||||
key: ${{ steps.cache-project-dependencies.outputs.cache-primary-key }}
|
key: ${{ steps.cache-project-dependencies.outputs.cache-primary-key }}
|
||||||
|
|
||||||
- name: Upload Release Binary
|
- name: Upload Release Binary
|
||||||
|
id: bot-artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: botrunner
|
name: botrunner
|
||||||
path: target/x86_64-unknown-linux-gnu/release/gongbotrs
|
path: target/x86_64-unknown-linux-gnu/release/gongbotrs
|
||||||
|
|
||||||
|
- name: Deploy with WebHook
|
||||||
|
run: curl http://${{ secrets.SERVER_ADDR }}/hooks/gongbot-deploy?binaryzip='${{ steps.bot-artifact.outputs.artifact-url }}'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user