mirror of
https://github.com/quepasaevents/qpa-client.git
synced 2023-12-14 05:33:02 +01:00
19 lines
428 B
YAML
19 lines
428 B
YAML
image: ubuntu:18.04
|
|
|
|
cache:
|
|
paths:
|
|
- node_modules/
|
|
|
|
deploy_staging:
|
|
stage: deploy
|
|
environment: staging
|
|
only:
|
|
- master
|
|
script:
|
|
- apt-get update
|
|
- apt-get install -y nodejs docker
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
- (cd server; yarn build)
|
|
- docker build -t eu.gcr.io/qpa-staging-237606/qpa:$CI_COMMIT_TAG .
|
|
- docker push eu.gcr.io/qpa-staging-237606/qpa:$CI_COMMIT_TAG
|