This commit is contained in:
Chris Hall 2022-09-16 11:06:39 -07:00
parent 9edb615b56
commit d7b9297afa

View File

@ -33,4 +33,4 @@ jobs:
run: |
eval `ssh-agent -s`
ssh-add - <<< "$DEPLOY_PRIVATE_KEY"
ssh -o StrictHostKeyChecking=no ${DEPLOY_USER}@${DEPLOY_HOST} -C "cd /tmp && git clone ${REPO} && docker-compose build"
ssh -o StrictHostKeyChecking=no ${DEPLOY_USER}@${DEPLOY_HOST} -C "cd /tmp && (git clone git@github.com:${GITHUB_REPOSITORY} || (cd arabot && git pull && git checkout ${GITHUB_REF}) && docker-compose build"