mirror of https://gitlab.com/curben/blog
ci(gitlab): temporarily stop hexo
- to upload npm cache - remove snyk from netlify
This commit is contained in:
parent
ad14d52da4
commit
f6b2e9813c
|
@ -1,4 +1,4 @@
|
|||
image: node:12
|
||||
image: node:alpine # Use latest version of Node.js on Alpine
|
||||
|
||||
cache: # add cache to 'node_modules' for speeding up builds
|
||||
paths:
|
||||
|
@ -11,7 +11,7 @@ test:
|
|||
|
||||
script:
|
||||
- npm install --only=prod snyk && npm run snyk # Refer to "scripts" in package.json
|
||||
- npm run hexo
|
||||
# - npm run hexo
|
||||
|
||||
# Update github mirror
|
||||
after_script:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[context.production]
|
||||
publish = "public"
|
||||
command = "npm install --only=prod --no-save snyk && npm run snyk && npm run hexo"
|
||||
command = "npm run hexo"
|
||||
|
|
Loading…
Reference in New Issue