Commit 59c3897d authored by 邓晓峰's avatar 邓晓峰

Update .gitlab-ci.yml

parent 383a9651
Pipeline #38232 passed with stages
in 21 minutes 5 seconds
...@@ -12,6 +12,8 @@ stages: ...@@ -12,6 +12,8 @@ stages:
install: install:
stage: install stage: install
tags:
- civ_base
script: script:
- npm run init - npm run init
cache: cache:
...@@ -27,6 +29,8 @@ install: ...@@ -27,6 +29,8 @@ install:
package: package:
stage: package stage: package
tags:
- civ_base
script: script:
- echo "${CI_PROJECT_DIR}" - echo "${CI_PROJECT_DIR}"
- npm run build --releasepath=../CivWebPublish2021 - npm run build --releasepath=../CivWebPublish2021
...@@ -43,6 +47,8 @@ push: ...@@ -43,6 +47,8 @@ push:
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
stage: push stage: push
tags:
- civ_base
script: script:
- 'cd "${TARGET_REPO}"' - 'cd "${TARGET_REPO}"'
- '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