doc: update gitlab pipeline

This commit is contained in:
Leon Xu committed 2021-08-19 20:50:32 -07:00
1 parent 4373d04dc2
commit 435beadca3
1 file changed
+13 -1
+13 -1
View File
@@ -9,4 +9,16 @@ build website:
script:
- npm install -g hexo-cli # Install Hexo itself
- 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