chore: hexo convention 'npm run build'

- 3d337683d2/package.json (L6)
This commit is contained in:
MDLeom 2020-12-12 08:13:30 +00:00
parent 44aa5c9362
commit d6d520dbb3
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ pages:
script:
- npm install snyk && npm run snyk # Refer to "scripts" in package.json
- npm run hexo # Generate site
- npm run build # Generate site
artifacts:
paths:

View File

@ -1,4 +1,4 @@
[context.production]
environment = { NODE_ENV = "production" }
publish = "public"
command = "npm run hexo"
command = "npm run build"

View File

@ -6,7 +6,7 @@
"version": "5.2.0"
},
"scripts": {
"hexo": "hexo generate",
"build": "hexo generate",
"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"
},