doc: update gitlab pipeline
This commit is contained in:
1 parent
d6da3d5725
commit
b8cc3f04db
1 file changed
+13
-1
+13
-1
@@ -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
|
||||
Reference in new issue
Block a user