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