mirror of https://gitlab.com/curben/blog
parent
44aa5c9362
commit
d6d520dbb3
|
@ -14,7 +14,7 @@ pages:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm install snyk && npm run snyk # Refer to "scripts" in package.json
|
- npm install snyk && npm run snyk # Refer to "scripts" in package.json
|
||||||
- npm run hexo # Generate site
|
- npm run build # Generate site
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[context.production]
|
[context.production]
|
||||||
environment = { NODE_ENV = "production" }
|
environment = { NODE_ENV = "production" }
|
||||||
publish = "public"
|
publish = "public"
|
||||||
command = "npm run hexo"
|
command = "npm run build"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"version": "5.2.0"
|
"version": "5.2.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"hexo": "hexo generate",
|
"build": "hexo generate",
|
||||||
"snyk": "snyk auth \"$SNYK_TOKEN\" && snyk protect && snyk test && snyk monitor",
|
"snyk": "snyk auth \"$SNYK_TOKEN\" && snyk protect && snyk test && snyk monitor",
|
||||||
"renovate": "renovate --token \"$BOT_TOKEN\" --platform 'gitlab' --onboarding false --update-lock-files false --labels 'renovate' --recreate-closed true --require-config false curben/blog"
|
"renovate": "renovate --token \"$BOT_TOKEN\" --platform 'gitlab' --onboarding false --update-lock-files false --labels 'renovate' --recreate-closed true --require-config false curben/blog"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue