summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 36b24203f4e9e08be410c87076b748a6e0b59027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
image:
  name: alpine@sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 

.setup:
  before_script:
    - apk -U add curl

staging:
  extends: .setup
  script:
    - curl "https://$authuser:$authpass@dream.public.cat/api/deploy/stage"

production:
  extends: .setup
  script:
    - curl "https://$authuser:$authpass@dream.public.cat/api/deploy/production/$CI_COMMIT_REF_NAME"
  only:
    - tags
  except:
    - branches