This commit is contained in:
@@ -3,6 +3,7 @@ pipeline:
|
|||||||
image: jbrechtel/zola:latest
|
image: jbrechtel/zola:latest
|
||||||
commands:
|
commands:
|
||||||
- "zola build"
|
- "zola build"
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: jbrechtel/rsync:latest
|
image: jbrechtel/rsync:latest
|
||||||
commands:
|
commands:
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
mkdir -p $HOME/.ssh
|
mkdir -p $HOME/.ssh
|
||||||
ssh-keyscan -t rsa $DEPLOY_HOST >> $HOME/.ssh/known_hosts
|
ssh-keyscan -t rsa $DEPLOY_HOST >> $HOME/.ssh/known_hosts
|
||||||
|
|
||||||
|
chown -R $USER .
|
||||||
|
|
||||||
sshpass -p "$DEPLOY_PASSWORD" \
|
sshpass -p "$DEPLOY_PASSWORD" \
|
||||||
rsync -avzr \
|
rsync -avzr \
|
||||||
-e 'ssh -o "StrictHostKeyChecking no"' \
|
-e 'ssh -o "StrictHostKeyChecking no"' \
|
||||||
|
|||||||
Reference in New Issue
Block a user