3 Star 2 Fork 4

hmcoder/leadnews-front-end

forked from itheim/leadnews-front-end 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.gitlab-ci.yml 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
刘俊杰 提交于 2021-03-10 17:15 . update -> 关闭sonar
stages:
# - sonar
- build
# sonar_analyze:
# stage: sonar
# script:
# - |
# sonar-scanner -X \
# -Dsonar.projectKey=gitlab:$CI_COMMIT_REF_NAME:$CI_PROJECT_NAME \
# -Dsonar.projectName=$CI_PROJECT_NAME \
# -Dsonar.projectVersion=1.0.$CI_PIPELINE_ID \
# -Dsonar.sources=heima-leadnews-admin/src,heima-leadnews-wemedia/src \
# -Dsonar.sourceEncoding=UTF-8
# tags:
# - centos-aliyun-158
# only:
# - develop
build-develop:
stage: build
script:
- pwd
- yarn config get registry
# heima-leadnews-admin
- cd heima-leadnews-admin
- cnpm i
- npm run build
- rm -rf /home/cicd/docker-data/nginx/html/leadnews-admin.itheima.net
- cp -rf ./dist /home/cicd/docker-data/nginx/html/leadnews-admin.itheima.net
- cd ..
# heima-leadnews-wemedia
- cd heima-leadnews-wemedia
- cnpm i
- cnpm run build
- rm -rf /home/cicd/docker-data/nginx/html/leadnews-wemedia.itheima.net
- cp -rf ./dist /home/cicd/docker-data/nginx/html/leadnews-wemedia.itheima.net
tags:
- centos-aliyun-158
only:
- master
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hm_coder/leadnews-front-end.git
git@gitee.com:hm_coder/leadnews-front-end.git
hm_coder
leadnews-front-end
leadnews-front-end
master

搜索帮助