From 1cb7f245c2282bed99326888f695b0c90a07b02b Mon Sep 17 00:00:00 2001 From: Taras Petriichuk Date: Fri, 8 Dec 2023 01:04:46 +0200 Subject: [PATCH] update --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 08dbd95..fcb6c62 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,6 +32,6 @@ jobs: docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - name: Pull and Start run: | - echo "${{ secrets.PROD_DEPLOY_KEY }}" > dev.key + echo "${{ secrets.SSH_KEY }}" > dev.key chmod 600 dev.key scp -i dev.key -o StrictHostKeyChecking=no docker-compose-prod.yml ${{ secrets.INSTANCE_USER }}@${{ secrets.INSTANCE_IP_ADDRESS }}:./