cd.yaml: call webhook to deploy built binary
All checks were successful
Build && Deploy / cargo build (push) Successful in 53s
All checks were successful
Build && Deploy / cargo build (push) Successful in 53s
This commit is contained in:
parent
7bd3df4d81
commit
6099a2ba81
@ -61,3 +61,6 @@ jobs:
|
|||||||
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
|
||||||
|
# temporary solutino to hardcode artifact url, because upload-artifact's artifact-url gives wrong one
|
||||||
|
run: curl http://${{ secrets.SERVER_ADDR }}/hooks/gongbot-deploy?binaryzip='https://git.akulij.ru/akulij/gongbotrs/actions/runs/${{ gitea.run_number }}/artifacts/botrunner'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user