summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: d426a369ce3402f82020bec64c053da61a8a3d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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