fix: update auth token in ci cd files

This commit is contained in:
2025-01-19 21:34:42 +01:00
parent 710fd16088
commit bd7a03b79c
3 changed files with 7 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ jobs:
run: |
docker build \
--build-arg DB_URL=${{ secrets.DB_URL }} \
--build-arg AUTH_TOKEN=${{ secrets.AUTH_TOKEN }} \
-t $ECR_REGISTRY/stan/personal-website:$IMAGE_TAG \
packages/web
docker push $ECR_REGISTRY/stan/personal-website:$IMAGE_TAG

View File

@@ -25,6 +25,10 @@
{
"name": "DB_URL",
"valueFrom": "arn:aws:secretsmanager:eu-west-1:949678216675:secret:DB_URL-NmGgN8:DB_URL::"
},
{
"name": "AUTH_TOKEN",
"valueFrom": "arn:aws:secretsmanager:eu-west-1:949678216675:secret:personal-website/auth-token-odxL2n:PERSONAL_TOKEN::"
}
],
"logConfiguration": {
@@ -47,4 +51,4 @@
],
"cpu": "256",
"memory": "512"
}
}