From 0970fe78ecd9a9df6681ecce67ebea8047dd1018 Mon Sep 17 00:00:00 2001 From: Richard Hallett Date: Thu, 6 Jan 2022 17:23:11 +0100 Subject: [PATCH] Update secret usage --- .github/workflows/release.yml | 10 +--------- .github/workflows/stage.yml | 9 --------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3ad972..8231eb1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,12 +14,6 @@ jobs: env: MEMCACHE_SERVERS: "localhost:11211" SECRET_KEY_BASE: ${{ secrets.SECRET_KEY_BASE }} - SESSION_ENCRYPTED_COOKIE_SALT: ${{ secrets.SESSION_ENCRYPTED_COOKIE_SALT }} - JWT_PRIVATE_KEY: ${{ secrets.JWT_PRIVATE_KEY }} - JWT_PUBLIC_KEY: ${{ secrets.JWT_PUBLIC_KEY }} - MDS_USERNAME: ${{ secrets.MDS_USERNAME }} - MDS_PASSWORD: ${{ secrets.MDS_PASSWORD }} - AWS_REGION: ${{ secrets.AWS_REGION }} steps: - uses: actions/checkout@v2 - name: Set up Ruby 2.6 @@ -43,9 +37,7 @@ jobs: - name: Lint and Test env: MEMCACHE_SERVERS: "localhost:11211" - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - run: | + run: |1 # Run the tests in subsets instead of all at once. bundle exec rspec spec diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 8aff6cf..47060ec 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -13,13 +13,6 @@ jobs: - 11211/udp env: MEMCACHE_SERVERS: "localhost:11211" - SECRET_KEY_BASE: ${{ secrets.SECRET_KEY_BASE }} - SESSION_ENCRYPTED_COOKIE_SALT: ${{ secrets.SESSION_ENCRYPTED_COOKIE_SALT }} - JWT_PRIVATE_KEY: ${{ secrets.JWT_PRIVATE_KEY }} - JWT_PUBLIC_KEY: ${{ secrets.JWT_PUBLIC_KEY }} - MDS_USERNAME: ${{ secrets.MDS_USERNAME }} - MDS_PASSWORD: ${{ secrets.MDS_PASSWORD }} - AWS_REGION: ${{ secrets.AWS_REGION }} steps: - uses: actions/checkout@v2 - name: Set up Ruby 2.6 @@ -43,8 +36,6 @@ jobs: - name: Lint and Test env: MEMCACHE_SERVERS: "localhost:11211" - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} run: | # Run the tests in subsets instead of all at once. bundle exec rspec spec