mirror of
https://github.com/olegvodyanov/docbot.git
synced 2026-02-02 02:45:46 +03:00
change action
This commit is contained in:
parent
56da4712aa
commit
7bd6a152de
@ -19,5 +19,7 @@ jobs:
|
|||||||
install -m 700 -d ~/.ssh
|
install -m 700 -d ~/.ssh
|
||||||
echo "${DEPLOY_SSH_KEY}" > ~/.ssh/id_ed25519
|
echo "${DEPLOY_SSH_KEY}" > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
|
echo "Connecting to ${DEPLOY_USER}@${DEPLOY_HOST}"
|
||||||
|
echo "Navigating to ${DEPLOY_PATH} and pulling latest changes"
|
||||||
ssh -o StrictHostKeyChecking=no "${DEPLOY_USER}@${DEPLOY_HOST}" \
|
ssh -o StrictHostKeyChecking=no "${DEPLOY_USER}@${DEPLOY_HOST}" \
|
||||||
"cd '${DEPLOY_PATH}' && git pull && ./new_version.sh"
|
"cd '${DEPLOY_PATH}' && git pull && ./new_version.sh"
|
||||||
Loading…
x
Reference in New Issue
Block a user