Commit fedcece5 authored by 王华's avatar 王华

Update .gitlab-ci.yml

parent 76846843
Pipeline #53419 waiting for manual action with stages
...@@ -15,6 +15,8 @@ stages: ...@@ -15,6 +15,8 @@ stages:
checkout: checkout:
stage: checkout stage: checkout
tags:
- civ_manage_128
variables: variables:
GIT_CHECKOUT: 'true' GIT_CHECKOUT: 'true'
script: script:
...@@ -25,6 +27,8 @@ checkout: ...@@ -25,6 +27,8 @@ checkout:
install: install:
stage: install stage: install
tags:
- civ_manage_128
script: script:
- npm -v - npm -v
- npm run init - npm run init
...@@ -38,6 +42,8 @@ install: ...@@ -38,6 +42,8 @@ install:
package: package:
stage: package stage: package
tags:
- civ_manage_128
script: script:
- echo "${CI_PROJECT_DIR}" - echo "${CI_PROJECT_DIR}"
- git pull origin master - git pull origin master
...@@ -55,6 +61,8 @@ push: ...@@ -55,6 +61,8 @@ push:
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
stage: push stage: push
tags:
- civ_manage_128
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