代码拉取完成,页面将自动刷新
同步操作将从 TSY/echarts-map-demo 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。