Skip to content

Commit 58c5d36

Browse files
feat: Add missing environment variables for Docker run command in deploy workflow (#104)
* feat: Add missing environment variables for Docker run command in deploy workflow * fix: Correct syntax for setting environment variables in Docker run command * fix: Correct environment variable syntax in Docker run command * fix: Remove extra spaces in environment variable assignments for Docker run command
1 parent aa27e75 commit 58c5d36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ jobs:
5151
docker run -d -p ${{ vars.PORT }}:8000 \
5252
--name ${{ github.event.repository.name }}-${{ vars.ENV }} \
5353
--network=${{ vars.DOCKER_NETWORK }} \
54+
-e ENV="${{ vars.ENV }}" \
5455
-e DB_NAME="${{ secrets.DB_NAME }}" \
5556
-e MONGODB_URI="${{ secrets.MONGODB_URI }}" \
5657
-e ALLOWED_HOSTS="${{ vars.ALLOWED_HOSTS }}" \
58+
-e GOOGLE_OAUTH_CLIENT_ID= "${{ secrets.GOOGLE_OAUTH_CLIENT_ID }}" \
59+
-e GOOGLE_OAUTH_CLIENT_SECRET= "${{ secrets.GOOGLE_OAUTH_CLIENT_SECRET }}" \
60+
-e PUBLIC_KEY= "${{ secrets.PUBLIC_KEY }}" \
61+
-e PRIVATE_KEY= "${{ secrets.PRIVATE_KEY }}" \
5762
${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}

0 commit comments

Comments
 (0)