diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index ee810f3..fdcfb88 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -36,3 +36,7 @@ jobs: with: name: botrunner path: app + + - 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/gongbotgo-deploy?binaryzip='https://git.akulij.ru/akulij/sinkbot/actions/runs/${{ gitea.run_number }}/artifacts/botrunner'