From ff5da863df36dc8df2058418e48b21084dc4c2e4 Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Fri, 16 Sep 2022 09:38:34 -0700 Subject: [PATCH] added clone and compose --- .github/workflows/eslint copy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/eslint copy.yml b/.github/workflows/eslint copy.yml index 2dd51d7..7c2ade4 100644 --- a/.github/workflows/eslint copy.yml +++ b/.github/workflows/eslint copy.yml @@ -26,9 +26,11 @@ jobs: env: DEPLOY_HOST: 206.189.96.198 DEPLOY_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }} + REPO: git@github.com:veganhacktivists/arabot.git + DEPLOY_USER: deploy steps: - - name: ssh + - name: setup-ssh run: | eval `ssh-agent -s` ssh-add - <<< "$DEPLOY_PRIVATE_KEY" - ssh -o StrictHostKeyChecking=no deploy@${DEPLOY_HOST} uptime + ssh -o StrictHostKeyChecking=no ${DEPOY_USER}@${DEPLOY_HOST} -C "cd /tmp && clone ${REPO} && docker compose build"