Commit 04ee0e87 by twb

Update .gitlab-ci.yml

parent 752d12ad
Pipeline #973 failed in 0 seconds
......@@ -11,16 +11,7 @@ init:
script:
- echo ${UMI_ENV}
- echo ${PROJECT_PATH}
- echo "const {PROJECT_PATH} = process.env;" >> ../config/config.${UMI_ENV}.js
- echo "export default {" >> ../config/config.${UMI_ENV}.js
- echo "${project_hash}\n${project_base}\n${project_public_path}\n${project_output_path}" >> ../config/config.${UMI_ENV}.js
- echo "};" >> ../config/config.${UMI_ENV}.js
- yarn --ignore-optional --registry=https://registry.npm.taobao.org
environment:
project_hash: " hash: true,"
project_base: " base: PROJECT_PATH,"
project_public_path: " publicPath: PROJECT_PATH,"
project_output_path: " outputPath: PROJECT_PATH,"
#build:
# stage: build
......
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