From d7b9297afa1faf41e0a82d21eef6e635a7cd7cfb Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Fri, 16 Sep 2022 11:06:39 -0700 Subject: [PATCH] updated --- .github/workflows/eslint copy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/eslint copy.yml b/.github/workflows/eslint copy.yml index a7c3739..6fde7ca 100644 --- a/.github/workflows/eslint copy.yml +++ b/.github/workflows/eslint copy.yml @@ -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"