cd.yaml: use deploy webhook
All checks were successful
Build && Deploy / cargo build (push) Successful in 52s

This commit is contained in:
Akulij 2025-05-04 03:45:50 +03:00
parent 2ae58bbf99
commit 8a1fabeae7

View File

@ -57,8 +57,11 @@ jobs:
key: ${{ steps.cache-project-dependencies.outputs.cache-primary-key }}
- name: Upload Release Binary
id: bot-artifact
uses: actions/upload-artifact@v3
with:
name: botrunner
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 }}'