From 869324f6db3ef36bd44daf6a9020b110542b0ec7 Mon Sep 17 00:00:00 2001 From: Nate Meyer <672246+notnmeyer@users.noreply.github.com> Date: Fri, 8 Dec 2023 08:40:24 -0800 Subject: [PATCH] use .env.example instead of listing the env vars in the workflow use .env.example instead of listing the env vars in the workflow --- .env.example | 4 ++++ .github/workflows/test.yml | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..be236d3 --- /dev/null +++ b/.env.example @@ -0,0 +1,4 @@ +AWS_REGION=blah +AWS_ACCESS_KEY_ID=blah +AWS_SECRET_ACCESS_KEY=blah +AWS_SNS_TOPIC_ARN=blah diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 003c390..0e0411b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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