diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 093221e..191d1f7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/netlify.toml b/netlify.toml index d26edab..044bf74 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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"