Skip to content

Commit

Permalink
separate jobs for env vars/secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavsinghal87 committed Feb 22, 2024
1 parent e728d7d commit b060bef
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ on:
env:
DB_NAME: "my-db"
jobs:
test:
test-env-vars:
runs-on: ubuntu-latest
steps:
- name: test environment variables
run: echo "test ENV var"
- name: test secrets
run: echo "test env secrets"
run: echo "test ENV var" - $DB_NAME
test-env-secrets:
runs-on: ubuntu-latest
steps:
- name: test secrets
run: echo "test env secrets"

0 comments on commit b060bef

Please sign in to comment.