Commit 8f4f1692 by 汤文兵

当前目录改为$PWD

parent c47f6115
Pipeline #86 passed with stages
in 8 seconds
...@@ -17,8 +17,7 @@ test: ...@@ -17,8 +17,7 @@ test:
stage: build stage: build
script: script:
- echo "Do your build here" - echo "Do your build here"
- pwd - 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: deploy:
stage: deploy stage: deploy
......
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