doc: add image and git config script in .gitlab-ci.yml
This commit is contained in:
1 parent
99a0ec766c
commit
d361e8b598
1 file changed
+2
@@ -14,7 +14,9 @@ build website:
|
||||
|
||||
deploy to website:
|
||||
stage: deploy
|
||||
image: node:lastest
|
||||
script:
|
||||
- git config --global init.defaultBranch master
|
||||
- npm install -g hexo-cli # Install hexo itself
|
||||
- npm install # Install Hexo modules and dependencies
|
||||
- hexo clean # Hexo clean previous static site
|
||||
|
||||
Reference in new issue
Block a user