doc: add image and git config script in .gitlab-ci.yml

This commit is contained in:
Leon Xu committed 2021-09-22 19:41:55 -07:00
1 parent 56278c71c8
commit d94ed0868e
1 file changed
+2
+2
View File
@@ -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