[smc-discuss] [Git][smc/fonts-all][master] Make website repo branch configurable
Balasankar "Balu" C
gitlab at mg.gitlab.com
Sat Oct 6 07:09:27 PDT 2018
Balasankar "Balu" C pushed to branch master at SMC / fonts-all
Commits:
7fa2d139 by Balasankar "Balu" C at 2018-10-06T13:51:32Z
Make website repo branch configurable
- - - - -
1 changed file:
- fonts-gitlab-ci.yml
Changes:
=====================================
fonts-gitlab-ci.yml
=====================================
@@ -2,6 +2,7 @@ image: "debian:stretch"
variables:
WEBSITE_REPO_TRIGGER: "https://gitlab.com/api/v4/projects/125326/trigger/pipeline"
+ WEBSITE_REPO_BRANCH: "master"
before_script:
- apt-get update -y
@@ -44,6 +45,6 @@ test:
release:
stage: release
script:
- - curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master "${WEBSITE_REPO_TRIGGER}"
+ - curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=${WEBSITE_REPO_BRANCH} "${WEBSITE_REPO_TRIGGER}"
only:
- tags
View it on GitLab: https://gitlab.com/smc/fonts-all/commit/7fa2d1390f823826a44e2148e6c03a6dace714bf
--
View it on GitLab: https://gitlab.com/smc/fonts-all/commit/7fa2d1390f823826a44e2148e6c03a6dace714bf
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.smc.org.in/pipermail/discuss-smc.org.in/attachments/20181006/3c0b6766/attachment-0002.html>
More information about the discuss
mailing list