From 7862ef0daee8f20ddae60e1d0cc7d2a634e0d800 Mon Sep 17 00:00:00 2001 From: Seo Jean Kang <119040660+c0smosaur@users.noreply.github.com> Date: Wed, 29 May 2024 13:50:51 +0900 Subject: [PATCH] [FIX] removed docker-compose env variable --- .github/workflows/cicd.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 3df0284..9019377 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -59,13 +59,11 @@ jobs: env: APP: "docker-project" COMPOSE: "/home/ubuntu/compose/docker-compose.yml" - S3_BUCKET_ACCESS_KEY: ${{ secrets.S3_BUCKET_ACCESS_KEY }} - S3_BUCKET_SECRET_KEY: ${{ secrets.S3_BUCKET_SECRET_KEY }} with: username: ubuntu host: ${{ secrets.EC2_HOST }} key: ${{ secrets.EC2_PRIVATE_KEY }} - envs: APP, COMPOSE, S3_BUCKET_ACCESS_KEY, S3_BUCKET_SECRET_KEY + envs: APP, COMPOSE script_stop: true script: | sudo docker-compose -f $COMPOSE down