ci(gitlab): temporarily stop hexo

- to upload npm cache
- remove snyk from netlify
This commit is contained in:
MDLeom 2020-05-16 06:50:41 +01:00
parent ad14d52da4
commit f6b2e9813c
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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"