CI docs use $REMOTE_IP
All checks were successful
Build documentation / build-and-deploy (push) Successful in 38s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 38s
This commit is contained in:
@@ -38,6 +38,6 @@ jobs:
|
|||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "$SSH_KEY" > ~/.ssh/id_rsa
|
echo "$SSH_KEY" > ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
ssh-keyscan -H 10.10.10.200 >> ~/.ssh/known_hosts
|
ssh-keyscan -H "$REMOTE_IP" >> ~/.ssh/known_hosts
|
||||||
chmod -R 777 site
|
chmod -R 777 site
|
||||||
rsync -az --delete site/ webuser@"$REMOTE_IP":/home/webuser/mop/
|
rsync -az --delete site/ webuser@"$REMOTE_IP":/home/webuser/mop/
|
||||||
|
|||||||
Reference in New Issue
Block a user