From cd351d9d51238e7dafd83e03cd6aab85eb4d6923 Mon Sep 17 00:00:00 2001 From: minsuKang <90169703+minchodang@users.noreply.github.com> Date: Sun, 19 May 2024 11:09:21 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20docker=20yaml=20=EC=84=A4=EC=A0=95=20(#2?= =?UTF-8?q?5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-develop.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-develop.yml b/.github/workflows/deploy-develop.yml index 29c0298..ce92bf2 100644 --- a/.github/workflows/deploy-develop.yml +++ b/.github/workflows/deploy-develop.yml @@ -45,7 +45,7 @@ jobs: - name: SSH and deploy to EC2 run: | - echo "$SSH_KEY" >> key.pem + echo "$SSH_KEY" > key.pem chmod 600 key.pem ssh -i key.pem -o StrictHostKeyChecking=no ${USER}@${HOST} << 'EOF' docker pull ${{ secrets.DOCKER_USERNAME }}/meta-test:latest @@ -69,6 +69,7 @@ jobs: -e GOOGLE_CLIENT_SECRET=${{ secrets.GOOGLE_CLIENT_SECRET }} \ -e GOOGLE_CALLBACK_URL=https://www.meta-cognition.site/auth \ -e GOOGLE_API_KEY=${{ secrets.GOOGLE_API_KEY }} \ + -p 8080:8080 \ ${{ secrets.DOCKER_USERNAME }}/meta-test:latest docker logs meta-test-container EOF