Skip to content

Commit

Permalink
Merge pull request #106 from Trycatch-tv/dev
Browse files Browse the repository at this point in the history
.
  • Loading branch information
judlup authored Jun 2, 2024
2 parents cd83f59 + 18676a1 commit 6c0948a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ jobs:
cd /home/${{ secrets.EC2_USER }}/app
# Exportar las variables de entorno
export AWS_ACCOUNT_ID=${{ secrets.AWS_ACCOUNT_ID }}
export AWS_REGION=${{ secrets.AWS_REGION }}
# export AWS_ACCOUNT_ID=${{ secrets.AWS_ACCOUNT_ID }}
# export AWS_REGION=${{ secrets.AWS_REGION }}
# Iniciar sesión en Amazon ECR
aws ecr get-login-password --region $AWS_REGION | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com
# aws ecr get-login-password --region $AWS_REGION | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com
# Actualizar la imagen del servicio backend y reiniciarlo sin afectar db
docker-compose down
Expand Down

0 comments on commit 6c0948a

Please sign in to comment.