1 Star 0 Fork 32

zjq/echarts-map-demo

forked from TSY/echarts-map-demo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.onedev-buildspec.yml 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
TSY666 提交于 2022-12-07 10:03 . Edit .onedev-buildspec.yml
version: 18
jobs:
- name: CI/CD
jobExecutor: internal
steps:
- !CheckoutStep
name: checkout
cloneCredential: !DefaultCredential {}
withLfs: false
withSubmodules: false
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
- !CommandStep
name: build
runInContainer: false
interpreter: !DefaultInterpreter
commands:
- yarn
- yarn build
- ''
- cd ./dist
- tar -zcvf dist.tar.gz *
- mv dist.tar.gz /usr/share/nginx/hxkj/dist/demo/echartsMap
- cd /usr/share/nginx/hxkj/dist/demo/echartsMap/
- tar -zxvf dist.tar.gz
- rm -f dist.tar.gz
useTTY: false
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
triggers:
- !BranchUpdateTrigger
branches: master
retryCondition: never
maxRetries: 3
retryDelay: 30
cpuRequirement: 250
memoryRequirement: 256
timeout: 3600
- name: Push to GitHub
jobExecutor: internal
steps:
- !CheckoutStep
name: checkout
cloneCredential: !DefaultCredential {}
withLfs: false
withSubmodules: false
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
- !CommandStep
name: push
runInContainer: false
interpreter: !DefaultInterpreter
commands:
- git config user.name "TangSY"
- git config user.email "337828932@@qq.com"
- git remote set-url origin git@@github.com:TangSY/echarts-map-demo.git
- git remote -v
- git push
useTTY: false
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
triggers:
- !BranchUpdateTrigger {}
- !TagCreateTrigger {}
retryCondition: never
maxRetries: 30
retryDelay: 30
cpuRequirement: 250
memoryRequirement: 256
timeout: 3600
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/zjq1991/echarts-map-demo.git
git@gitee.com:zjq1991/echarts-map-demo.git
zjq1991
echarts-map-demo
echarts-map-demo
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385