Skip to content

Commit

Permalink
env
Browse files Browse the repository at this point in the history
  • Loading branch information
joe6276 committed Jul 21, 2024
1 parent 1158c26 commit dd431bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deployment
on:
push:
branches:
- main
- master
- dev
env:
MONGODB_DB_NAME: gha-demo
Expand Down Expand Up @@ -31,12 +31,12 @@ jobs:
- name: Run tests
run: npm test
- name: Output information
run: echo "MONGODB Usrname ${{env.MONGODB_USERNAME}}"
run: echo "MONGODB Username ${{env.MONGODB_USERNAME}}"
deploy:
needs: test
runs-on: ubuntu-latest
steps:
- name: Output information
run: |
run: echo "MONGODB Usrname ${{env.MONGODB_USERNAME}}"
run: echo "MONGODB Usrname ${{env.MONGODB_DB_NAME}}"
run: echo "MONGODB Username ${{env.MONGODB_USERNAME}}"
run: echo "MONGODB Database ${{env.MONGODB_DB_NAME}}"

0 comments on commit dd431bc

Please sign in to comment.