From 9a5362fa96f8d8e39b321aac9d6f7e6538050dcc Mon Sep 17 00:00:00 2001 From: Sudip Bhattarai Date: Fri, 8 Nov 2024 18:21:14 +0545 Subject: [PATCH] Add next auth secret --- .github/workflows/deploy.yml | 1 + deployment/docker-compose-ccva.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e45bbc3..f604ac9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -67,6 +67,7 @@ jobs: echo 'IMAGE_VERSION_TAG=${{ github.sha }}' echo 'GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}' echo 'REGISTRY_BASE=registry.sireto.io/cardanoapi' + echo 'NEXT_AUTH_SECRET=${{ secrets.NEXT_AUTH_SECRET }}' echo 'STACK_NAME=ccva' echo 'DEPLOY_BASE_DOMAIN=ccv.cardanoapi.io' echo 'NPM_AUTH_TOKEN=${{ secrets.NPM_AUTH_TOKEN }}' diff --git a/deployment/docker-compose-ccva.yml b/deployment/docker-compose-ccva.yml index 760be39..ea7d322 100644 --- a/deployment/docker-compose-ccva.yml +++ b/deployment/docker-compose-ccva.yml @@ -11,6 +11,7 @@ services: - postgres - frontend environment: + NEXT_AUTH_SECRET: ${NEXT_AUTH_SECRET} VIRTUAL_HOST: https://${DEPLOY_BASE_DOMAIN} DATABASE_URL: postgresql://ccva:${DATABASE_PASSWORD}@postgres:5432/ccva_test NEXTAUTH_URL: https://${DEPLOY_BASE_DOMAIN}