Commit 6d23f67a authored by 吕祺's avatar 吕祺 ⛹🏽

change root

parent 5e6a2a85
......@@ -42,9 +42,9 @@ deploy:
- yarn
# - sh utils/imageCompress.sh
- npm run export
- rm -rf /home/gitlab-runner/deploy/official/out/
- rm -rf /home/gitlab-runner/deploy/cms/official/out #/home/gitlab-runner/deploy/official/out/
- echo "预览页面已清除"
- cp -r out /home/gitlab-runner/deploy/official
- cp -r out /home/gitlab-runner/deploy/cms/official/ #deploy/official
- /home/gitlab-runner/sh/ossutil64 cp -f out oss://gaorong-web/ -r
......@@ -63,8 +63,10 @@ preview:
- yarn
# - sh utils/imageCompress.sh
- npm run export
- rm -r /home/gitlab-runner/deploy/official/out
- cp -r out/ /home/gitlab-runner/deploy/official/
- rm -rf /home/gitlab-runner/deploy/cms/official/out #/home/gitlab-runner/deploy/official/out/
- cp -r out /home/gitlab-runner/deploy/cms/official/ #deploy/official
# - rm -r /home/gitlab-runner/deploy/official/out
# - cp -r out/ /home/gitlab-runner/deploy/official/
- echo "预览网站:http://preview.gaorongvc.cn:9945/"
......
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