Commit ea0fdef4 authored by 张瑶's avatar 张瑶

Update .gitlab-ci.yml

parent bc415472
Pipeline #48864 passed with stages
in 3 minutes 14 seconds
...@@ -19,10 +19,10 @@ install: ...@@ -19,10 +19,10 @@ install:
- git stash - git stash
- git pull origin master - git pull origin master
- npm run init - npm run init
cache: #cache:
key: ${CI_COMMIT_REF_SLUG} # key: ${CI_COMMIT_REF_SLUG}
paths: # paths:
- node_modules/ # - node_modules/
only: only:
refs: refs:
- master - master
...@@ -39,10 +39,10 @@ package: ...@@ -39,10 +39,10 @@ package:
- git pull origin master - git pull origin master
#- npm run init #- npm run init
- npm run build --releasepath=../CivWebPublish2021 - npm run build --releasepath=../CivWebPublish2021
cache: #cache:
key: ${CI_COMMIT_REF_SLUG} # key: ${CI_COMMIT_REF_SLUG}
paths: # paths:
- node_modules/ # - node_modules/
only: only:
- master - master
when: manual when: manual
......
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