Commit 1bb3d91c authored by 吕祺's avatar 吕祺 ⛹🏽

add compress

parent 076fecd9
...@@ -27,16 +27,16 @@ compile_articles: ...@@ -27,16 +27,16 @@ compile_articles:
- echo "cms https://cmsadmin.gaorongvc.cn/ronghui/admin" - echo "cms https://cmsadmin.gaorongvc.cn/ronghui/admin"
# compress_images: compress_images:
# stage: build stage: build
# # when: manual # when: manual
# environment: environment:
# name: release name: release
# only: only:
# - master - master
# script: script:
# - yarn - yarn
# - sh utils/imageCompress.sh - sh utils/imageCompress.sh
deploy: deploy:
...@@ -48,7 +48,7 @@ deploy: ...@@ -48,7 +48,7 @@ deploy:
- master - master
script: script:
- yarn - yarn
- sh utils/imageCompress.sh #- sh utils/imageCompress.sh
- npm run export - npm run export
- node utils/toJSON.js - node utils/toJSON.js
- rm -rf /home/gitlab-runner/deploy/cms/ronghui/out - rm -rf /home/gitlab-runner/deploy/cms/ronghui/out
......
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