diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f2af03..95a55a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,14 +7,18 @@ cache: # add cache to 'node_modules' for speeding up builds variables: NODE_ENV: "production" -test: +pages: before_script: - apk update && apk add git - npm install script: - npm install snyk && npm run snyk # Refer to "scripts" in package.json - - npm run hexo + - npm run hexo # Generate site + + artifacts: + paths: + - public # deploy from the 'public' folder. rules: # Skip in renovate job @@ -43,25 +47,3 @@ renovate: # Check dependency update # Only trigger when environment variable matches and through "Run pipeline" in master branch - if: '$RENOVATE == "true" && $CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "web"' when: always - -# # Uncomment below (and comment/remove above) lines for gitlab pages -# image: node:latest # Use latest version of Node.js -# pages: - # cache: # add cache to 'node_modules' for speeding up builds - # paths: - # - node_modules/ # Node modules and dependencies - - # script: - # - npm install -g snyk hexo-cli - # - npm install # install node modules - # - snyk auth $SNYK_TOKEN - # - snyk protect # Apply patches to node modules - # - snyk test # Check node modules for vulnerability - # - hexo deploy # deploy the site. - - # artifacts: - # paths: - # - public # deploy to the 'public' folder. - - # only: - # - master # this job will affect only the 'master' branch diff --git a/README.md b/README.md index 1f7fc55..19f0eba 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ The content of this blog is licensed under a [CC BY-SA 4.0](https://creativecomm ## Mirrors - https://curben.netlify.app/ +- https://curben.gitlab.io/blog/ - http://xw226dvxac7jzcpsf4xb64r4epr6o5hgn46dxlqk7gnjptakik6xnzqd.onion/ - http://mdleom.i2p/ ([address helper](http://mdleom.i2p/?i2paddresshelper=-NjUAy6H3wkgRfB3rBwGrpS56L2P~RHRDnD8HnRV1mLSKFdbzxHTMsGLo-mdgGq360Kni2Ec0qhRzm-IUc8X4Y0Ug1eYvcEp2ubXwLe5JJg7yZJOdGxqdy5y5VbdHfIuUe2ooG3MNA4v6b4pGk7pUQ7hnTkUi0EObD~79ik4AY-vSsxIFrc8kJxtbRMCQ3NQRhAuvS1A14rSVk0wv50YwKS23y~FUIQWyG8ZpjTVYu50n~oBnJtVKSAHbCMWRcnJx6iGFsbTRh4ZsRtDh0drwfeRkvaQQqQmf6nZOc4-GLxZ0RT5QlS5gdPXL4V7eaIETbNJAIeYr2NzcpwVHs~zp93Ga-p7dlH3TsJX5gJSyqJWCc64vvmkxf7Vseh3uGaa4xqiLjTH5XsOyFQLp5D6myt-yH7ggReZbs70NKqG1Mj5iRLhIC3Q~pJ6LkPnMBJN6QeLNYNWcOPXkMzRfsavvH2l3yxdpkn41BLM2-7bBUdJNXfu4OhGAR22O0gFngjUBQAEAAcAAA==&update=true)) - http://ggucqf2jmtfxcw7us5sts3x7u2qljseocfzlhzebfpihkyvhcqfa.b32.i2p/