* updating submodules
This commit is contained in:
parent
5b7248a7f3
commit
d9cf05d6ce
@ -28,6 +28,8 @@ vps-website:
|
||||
- chmod 700 ~/.ssh/
|
||||
- ssh-keyscan $VPS_HOST 2>&1 >> ~/.ssh/known_hosts
|
||||
- chmod 644 ~/.ssh/known_hosts
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
script:
|
||||
# Build then upload
|
||||
- cd gitpage/
|
||||
@ -40,6 +42,9 @@ vps-website:
|
||||
pages:
|
||||
image: shockrah/website:latest
|
||||
stage: deploy
|
||||
before_script:
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
script:
|
||||
- cd gitpage
|
||||
- hugo
|
||||
|
Loading…
Reference in New Issue
Block a user