-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
43 lines (39 loc) · 974 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
########################################
# Deployment test instructions #
########################################
image: node:14.18.1-slim
before_script:
- yarn install
cache:
paths:
- node_modules/
pages:
stage: deploy
variables:
API_BASE_URL: ""
CLIENT_ID_HEADER: "change_me"
VERSION: "201903191911"
ENV: ""
ISSUE_COLLECTOR_URL: ""
MEDIA_URL: ""
DEVELOP: "true"
MAINTENANCE: ""
LOGOUT_URL: "https://www.barcelona.cat"
SESSION_INFO_URL: ""
FORCE_SESSION_POLLING: "false"
PUBLIC_PATH: ''
AUTH_METHOD: 'oauth'
BASE_ROUTE: '/iris-2-front/'
CITY_CENTER_LAT: '43.366623'
CITY_CENTER_LON: '-8.410378'
MAIN_LANG: 'gl'
script:
- apt-get update && apt-get install gettext-base
- envsubst < ./config.template.json > ./src/static/config.json
- yarn build
- mv dist/ public/
artifacts:
paths:
- public
only:
- dev # This project's pre branch is called dev