cd.yaml: call webhook to deploy built binary
All checks were successful
Build && Deploy / cargo build (push) Successful in 53s

This commit is contained in:
Akulij 2025-05-04 17:27:38 +03:00
parent 7bd3df4d81
commit 6099a2ba81

View File

@ -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'