commit a9e233b7c6e436996526aa03fdc665168a5f6c50 parent 37e776749c0e2d8c9fec83b777efa9bf9066d26e Author: Damian Myrda <damian@prime8.dev> Date: Thu, 2 Apr 2026 01:34:22 -0500 fix: run deploy with curl container Diffstat:
| M | .gitlab-ci.yml | | | 17 | ++++++++++++++++- |
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -1,11 +1,26 @@ stages: + - verify - deploy +verify: + stage: verify + image: golang:1.23 + script: + - go run ./cmd/buildjs + - go test ./... + only: + - master + deploy: stage: deploy + needs: + - verify + image: + name: curlimages/curl:8.8.0 + entrypoint: [""] script: - | - curl -X POST "${DOKPLOY_DEPLOY_URL}" \ + curl --fail --show-error --silent -X POST "${DOKPLOY_DEPLOY_URL}" \ -H "Content-Type: application/json" \ -H "X-Gitlab-Event: Push Hook" \ -d '{"ref": "refs/heads/master"}'