Use trigger syntax of GitLab to trigger website pipeline

Signed-off-by: Balasankar "Balu" C's avatarBalasankar "Balu" C <balasankar@gitlab.com>
parent 9bfdaa81
Pipeline #72051854 passed with stages
in 11 minutes and 9 seconds
......@@ -4,10 +4,6 @@ stages:
- test
- release
variables:
WEBSITE_REPO_TRIGGER: "https://gitlab.com/api/v4/projects/125326/trigger/pipeline"
WEBSITE_REPO_BRANCH: "master"
build-branch:
stage: build
before_script:
......@@ -47,9 +43,7 @@ test:
- make test
release:
image: "pstauffer/curl:latest"
stage: release
script:
- curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=${WEBSITE_REPO_BRANCH} "${WEBSITE_REPO_TRIGGER}"
trigger: smc/smc-website
only:
- tags
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment