diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a3f5ec3 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +image: + name: curlimages/curl@sha256:a3e534fced74aeea171c4b59082f265d66914d09a71062739e5c871ed108a46e + +staging: + script: + - curl -i -X POST "https://$authuser:$authpass@incommon.cc/api/deploy/stage" + +production: + script: + - curl -i -X POST "https://$authuser:$authpass@incommon.cc/api/deploy/production/$CI_COMMIT_REF_NAME" + only: + - tags + except: + - branches |