feat: update

parent 53b18740
...@@ -5,6 +5,7 @@ before_install: ...@@ -5,6 +5,7 @@ before_install:
install: install:
- git checkout $Branch - git checkout $Branch
- sed -i 's/{{BUILD_NUMBER}}/'$BUILD_NUMBER'/g' src/environments/environment.prod.ts - sed -i 's/{{BUILD_NUMBER}}/'$BUILD_NUMBER'/g' src/environments/environment.prod.ts
- rm -rf dist/
- docker run -i -v `pwd`:/data -w /data node sh -c "npm i && npm rebuild node-sass&& npm run-script build" - docker run -i -v `pwd`:/data -w /data node sh -c "npm i && npm rebuild node-sass&& npm run-script build"
script: script:
- docker build -t registry.fit2cloud.com/jumpserver/luna:$Branch . - docker build -t registry.fit2cloud.com/jumpserver/luna:$Branch .
......
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