diff options
author | hellekin <hellekin@cepheide.org> | 2021-01-08 18:33:57 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-01-08 18:33:57 +0100 |
commit | 58b5c6069d7a4b13a03c170dd00f85dc40860aa6 (patch) | |
tree | 8d3df77b6d45323fd360c26bd9495c5bff35ca0a | |
parent | 4c3af238931b1d92c332c311ae63c823ab9eb17d (diff) | |
parent | 524db9c3949bf6648c1881ebd1e5bea5c320e856 (diff) | |
download | dream.public.cat-58b5c6069d7a4b13a03c170dd00f85dc40860aa6.tar.gz |
Merge branch 'main' of gitlab.com:public.dream/dream.public.cat into main
-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..d426a36 --- /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@dream.public.cat/api/deploy/stage" + +production: + script: + - curl -i -X POST "https://$authuser:$authpass@dream.public.cat/api/deploy/production/$CI_COMMIT_REF_NAME" + only: + - tags + except: + - branches |