.gitlab-ci.yml 356 Bytes
Newer Older
Nicholas J Anderson's avatar
Nicholas J Anderson committed
1
2
3
4
image: node:6.5.0

build:
  stage: build
5
6
  variables:
    HOMEPAGE: "https://whatsopen.gmu.edu/beta/"
Nicholas J Anderson's avatar
Nicholas J Anderson committed
7
  script:
8
  - node -e "require('fs').writeFileSync('./package.json', JSON.stringify(Object.assign(require('./package.json'), {'homepage': process.env.HOMEPAGE}), null, 2));"
Nicholas J Anderson's avatar
Nicholas J Anderson committed
9
  - npm install
10
  - CI=false npm run build
Nicholas J Anderson's avatar
Nicholas J Anderson committed
11
12
13
14
  artifacts:
    paths:
    - build