doc: update gitlab pipeline
This commit is contained in:
1 parent
4373d04dc2
commit
435beadca3
1 file changed
+13
-1
+13
-1
@@ -9,4 +9,16 @@ build website:
|
|||||||
script:
|
script:
|
||||||
- npm install -g hexo-cli # Install Hexo itself
|
- npm install -g hexo-cli # Install Hexo itself
|
||||||
- npm install # Install Hexo modules and dependencies
|
- npm install # Install Hexo modules and dependencies
|
||||||
- hexo version
|
- npm install hexo-renderer-pug # Install Butterfly pug
|
||||||
|
- npm install hexo-renderer-stylus # Install stylus renderer
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- hexo clean # Hexo clean previous static site
|
||||||
|
- hexo generate # Hexo generate Static Site
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
- master # this job will affect only the 'master' branch
|
||||||
Reference in new issue
Block a user