Commit 575986c9 authored by 王华's avatar 王华

Update .gitlab-ci.yml

parent 07e73de8
Pipeline #53414 waiting for manual action with stages
...@@ -16,7 +16,7 @@ stages: ...@@ -16,7 +16,7 @@ stages:
checkout: checkout:
stage: checkout stage: checkout
tags: tags:
- civ_webgis - civ128
variables: variables:
GIT_CHECKOUT: 'true' GIT_CHECKOUT: 'true'
script: script:
...@@ -28,7 +28,7 @@ checkout: ...@@ -28,7 +28,7 @@ checkout:
install: install:
stage: install stage: install
tags: tags:
- civ_webgis - civ128
script: script:
- npm -v - npm -v
- npm run init - npm run init
...@@ -43,7 +43,7 @@ install: ...@@ -43,7 +43,7 @@ install:
package: package:
stage: package stage: package
tags: tags:
- civ_webgis - civ128
script: script:
- echo "${CI_PROJECT_DIR}" - echo "${CI_PROJECT_DIR}"
- git pull origin master - git pull origin master
...@@ -61,6 +61,8 @@ push: ...@@ -61,6 +61,8 @@ push:
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
stage: push stage: push
tags:
- civ128
script: script:
- 'cd "${TARGET_REPO_2021}"' - 'cd "${TARGET_REPO_2021}"'
- 'git reset --hard head' - 'git reset --hard head'
......
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