Skip to content

Commit

Permalink
pass the Mongodb credentials to the GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
did committed Sep 1, 2024
1 parent 25e8537 commit 4355c6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
DRAGONFLY_SECRET_KEY: ${{ secrets.DRAGONFLY_SECRET_KEY }}

MONGODB_URI: ${{ secrets.MONGODB_URI }}
MONGO_INITDB_ROOT_USERNAME: ${{ secrets.MONGO_INITDB_ROOT_USERNAME }}
MONGO_INITDB_ROOT_PASSWORD: ${{ secrets.MONGO_INITDB_ROOT_PASSWORD }}

NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
NEW_RELIC_LOG: stdout
Expand All @@ -43,7 +45,7 @@ jobs:
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}

SENDGRID_USERNAME: ${{ secrets.SENDGRID_USERNAME }}
SENDGRID_PASSWORD: ${{ secrets.SENDGRID_PASSWORD }}
SENDGRID_PASSWORD: ${{ secrets.SENDGRID_PASSWORD }}

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ env:
- SENDGRID_USERNAME
- SENDGRID_PASSWORD
- MONGO_INITDB_ROOT_USERNAME
- MONGO_INITDB_ROOT_PASSWORD
- MONGO_INITDB_ROOT_PASSWORDE

# Use a different ssh user than root
# ssh:
Expand Down

0 comments on commit 4355c6a

Please sign in to comment.