doc: update README.md

This commit is contained in:
Leon Xu committed 2021-07-05 10:01:56 -07:00
1 parent 679581cddb
commit 2cad830330
1 file changed
+6 -3
+6 -3
View File
@@ -54,10 +54,13 @@ cache:
before_script:
- npm install -g hexo-cli # Install Hexo itself
- npm install # Install Hexo modules and dependencies
- npm install hexo-renderer-pug # Install Butterfly pug
- npm install hexo-renderer-stylus # Install stylus renderer
# the 'pages' job will deploy and build your site to the 'public' path
pages:
stage: deploy
script:
- hexo clean # Hexo clean previous static site
- hexo generate # Hexo generate Static Site
artifacts:
paths:
@@ -143,6 +146,6 @@ Modify [`package.json`]:
[SSG]: https://www.staticgen.com/
[Themes]: https://hexo.io/themes/
[`_config.yml`]: https://gitlab.com/leonxu260/hexo-matery/blob/master/_config.yml
[`.gitlab-ci.yml`]: https://gitlab.com/leonxu260/hexo-matery/blob/master/_config.yml
[`package.json`]: https://gitlab.com/leonxu260/hexo-matery/blob/master/package.json
[`_config.yml`]: https://gitlab.com/leonxu260/hexo-butterfly/blob/master/_config.yml
[`.gitlab-ci.yml`]: https://gitlab.com/leonxu260/hexo-butterfly/blob/master/_config.yml
[`package.json`]: https://gitlab.com/leonxu260/hexo-butterfly/blob/master/package.json