Commit 912eb78d by twb

Update .gitlab-ci.yml

parent 62f82106
Pipeline #971 failed in 0 seconds
......@@ -4,6 +4,7 @@ cache:
variables:
UMI_ENV: "production"
PROJECT_PATH: "/sport/"
PROJECT_HASH: "true"
init:
stage: init
only:
......@@ -13,7 +14,7 @@ init:
- echo ${PROJECT_PATH}
- echo "const {PROJECT_PATH} = process.env;" >> ../config/config.${UMI_ENV}.js
- echo "export default {" >> ../config/config.${UMI_ENV}.js
- echo " hash: 'true'," >> ../config/config.${UMI_ENV}.js
- echo " hash: ${PROJECT_HASH}," >> ../config/config.${UMI_ENV}.js
- echo " base: PROJECT_PATH," >> ../config/config.${UMI_ENV}.js
- echo " publicPath: PROJECT_PATH," >> ../config/config.${UMI_ENV}.js
- echo " outputPath: PROJECT_PATH," >> ../config/config.${UMI_ENV}.js
......
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