Commit 939d0481 by twb

Update .gitlab-ci.yml

parent 4ea29ede
Pipeline #513 failed in 0 seconds
...@@ -4,19 +4,28 @@ ...@@ -4,19 +4,28 @@
# you can delete this line if you're not using Docker # you can delete this line if you're not using Docker
#image: busybox:latest #image: busybox:latest
test: # test:
stage: build # stage: build
only: # only:
- master # - master
script: # script:
- CI_TEST=test # - CI_TEST=test
- echo $CI_TEST # - echo $CI_TEST
- echo "Do your build here" # - echo "Do your build here"
- docker run --rm -w /data -v $PWD:/data node:8.11.2-alpine sh -c "yarn && npm test" # - docker run --rm -w /data -v $PWD:/data node:8.11.2-alpine sh -c "yarn && npm test"
# deploy:
# stage: deploy
# only:
# - master
# script:
# - echo "Do your deploy here"
deploy: deploy:
stage: deploy stage: deploy
only: only:
- master - master
changes:
- Dockerfile
script: script:
- echo "Do your deploy here" - echo "Dockerfile changed!!!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment