From 769bf80ca737ab32fecddf289c92a23640d91f0b Mon Sep 17 00:00:00 2001 From: Max Schmidt Date: Thu, 15 Jun 2023 15:15:21 +0200 Subject: [PATCH] Replace MONGODB_URI with secrets --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index d394ed1..f3660e8 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -51,7 +51,7 @@ jobs: # Replace .env with secrets replace_env 'PAYLOAD_SECRET' '${{ secrets.PAYLOAD_SECRET }}' - replace_env 'MONGODB_URI' '${{ secrets.MONGODB_URI }}' + replace_env 'MONGODB_URI' 'mongodb://${{ secrets.MONGODB_USER }}:${{ secrets.MONGODB_PW }}@mongo:27017' replace_env 'MONGODB_USER' '${{ secrets.MONGODB_USER }}' replace_env 'MONGODB_PW' '${{ secrets.MONGODB_PW }}' replace_env 'TOKEN' '${{ secrets.TOKEN }}'