Skip to content

Commit

Permalink
Merge pull request #45 from c0smosaur/dev
Browse files Browse the repository at this point in the history
[FIX] removed docker-compose env variable
  • Loading branch information
c0smosaur authored May 29, 2024
2 parents 0e31df9 + 7862ef0 commit cff23a6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cff23a6

Please sign in to comment.