Skip to content

Commit

Permalink
feat: aws condential
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefanie-A committed Oct 28, 2024
1 parent 374cfda commit a180564
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deployment

env:
AWS_ACCESS_KEY-ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS-KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: us-east-1

on:
Expand Down Expand Up @@ -33,7 +33,6 @@ jobs:
docker-compose down
docker pull nginx:latest
docker login -u stefnie -p ${{ secrets.docker_hub_token }}
docker pull stefnie/uri-image:latest
docker pull stefnie/api-image:latest
docker pull stefnie/api-image:latest
sudo nginx -t
docker-compose -f compose.yaml up -d

0 comments on commit a180564

Please sign in to comment.