From fe04b71152331e98ad631c25c188f37934bbac5b Mon Sep 17 00:00:00 2001 From: alexeh Date: Sat, 21 Sep 2024 15:46:21 +0200 Subject: [PATCH] fix env vars --- .github/workflows/deploy.yml | 4 ++-- api/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3e42b8cc..fcff1c1a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -132,8 +132,8 @@ jobs: DB_USERNAME=${{ secrets.DB_USERNAME }} DB_PASSWORD=${{ secrets.DB_PASSWORD }} ACCESS_TOKEN_SECRET=${{ secrets.ACCESS_TOKEN_SECRET }} - ACCESS_TOKEN_EXPIRES_IN=${{ vars.ACCESS_TOKEN_EXPIRES_IN }} - RESET_PASSWORD_TOKEN_SECRET=${{ secrets.ACCESS_TOKEN_SECRET }} + ACCESS_TOKEN_EXPIRES_IN=${{ secrets.ACCESS_TOKEN_EXPIRES_IN }} + RESET_PASSWORD_TOKEN_SECRET=${{ secrets.RESET_PASSWORD_TOKEN_SECRET }} RESET_PASSWORD_TOKEN_EXPIRES_IN=${{ secrets.RESET_PASSWORD_TOKEN_EXPIRES_IN }} EMAIL_CONFIRMATION_TOKEN_SECRET=${{ secrets.EMAIL_CONFIRMATION_TOKEN_SECRET }} EMAIL_CONFIRMATION_TOKEN_EXPIRES_IN=${{ secrets.EMAIL_CONFIRMATION_TOKEN_EXPIRES_IN }} diff --git a/api/Dockerfile b/api/Dockerfile index 1227ee64..b4327ac8 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -22,7 +22,7 @@ ENV DB_NAME $DB_NAME ENV DB_USERNAME $DB_USERNAME ENV DB_PASSWORD $DB_PASSWORD ENV ACCESS_TOKEN_SECRET $ACCESS_TOKEN_SECRET -ENV ACCESS_TOKEN_SECRET $ACCESS_TOKEN_EXPIRES_IN +ENV ACCESS_TOKEN_EXPIRES_IN $ACCESS_TOKEN_EXPIRES_IN ENV RESET_PASSWORD_TOKEN_SECRET $RESET_PASSWORD_TOKEN_SECRET ENV RESET_PASSWORD_TOKEN_EXPIRES_IN $RESET_PASSWORD_TOKEN_EXPIRES_IN ENV EMAIL_CONFIRMATION_TOKEN_SECRET $EMAIL_CONFIRMATION_TOKEN_SECRET