prime8dev

prime8dev
git clone https://git.prime8.dev/prime8dev.git
Log | Files | Refs | README | LICENSE

commit e490fb28953b622543cfe19874ece778c8f76017
parent 3c24c0304bd4e59f0e062b309b5ec02c46a19306
Author: Damian Myrda <damian@prime8.dev>
Date:   Mon, 16 Feb 2026 16:30:53 -0600

ci: send branch ref and gitlab header in the deploy webhook

Diffstat:
M.gitlab-ci.yml | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -4,6 +4,10 @@ stages: deploy: stage: deploy script: - - curl -X POST "${DOKPLOY_DEPLOY_URL}" + - | + curl -X POST "${DOKPLOY_DEPLOY_URL}" \ + -H "Content-Type: application/json" \ + -H "X-Gitlab-Event: Push Hook" \ + -d '{"ref": "refs/heads/master"}' only: - master