Replace MONGODB_URI with secrets

This commit is contained in:
Max Schmidt 2023-06-15 15:15:21 +02:00
parent df7a0b2870
commit 769bf80ca7

View File

@ -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 }}'