Skip to content

separate jobs for env vars/secrets #2

separate jobs for env vars/secrets

separate jobs for env vars/secrets #2

Workflow file for this run

name: Deploy website
on:
push:
branches:
- using-secrets
env:
DB_NAME: "my-db"
jobs:
test-env-vars:
runs-on: ubuntu-latest
steps:
- name: test environment variables
run: echo "test ENV var" - $DB_NAME
test-env-secrets:
runs-on: ubuntu-latest
steps:
- name: test secrets
run: echo "test env secrets"