Skip to content

Commit

Permalink
Add env variables in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
Ru Chern Chong committed May 11, 2024
1 parent a42afff commit be4c1ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/SST - Development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ permissions:
jobs:
DeployApp:
runs-on: ubuntu-latest
environment: Preview
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}
steps:
- name: Git clone the repository
uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/SST - Production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ permissions:
jobs:
DeployApp:
runs-on: ubuntu-latest
environment: Production
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}
steps:
- name: Git clone the repository
uses: actions/checkout@v3
Expand Down

0 comments on commit be4c1ac

Please sign in to comment.