Skip to content

Commit

Permalink
use .env.example instead of listing the env vars in the workflow
Browse files Browse the repository at this point in the history
use .env.example instead of listing the env vars in the workflow
  • Loading branch information
notnmeyer committed Dec 8, 2023
1 parent 2047024 commit 869324f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
AWS_REGION=blah
AWS_ACCESS_KEY_ID=blah
AWS_SECRET_ACCESS_KEY=blah
AWS_SNS_TOPIC_ARN=blah
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
name: test
on: push

env:
AWS_REGION: buttz
AWS_ACCESS_KEY_ID: blah
AWS_SECRET_ACCESS_KEY: blah

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cp .env.example .env
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.4
Expand Down

0 comments on commit 869324f

Please sign in to comment.