From 5cdd6e801c7de5c61eb5bf817678dd793dab770f Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 6 Feb 2021 13:45:47 +0100 Subject: [PATCH] repo secrets updates --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c533239..9c65442 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,11 +30,10 @@ jobs: restore-keys: ${{ runner.os }}-node- - run: npm ci + - run: npm test - name: Run tests & publish code coverage - uses: paambaati/codeclimate-action@v2.3.0 - with: - coverageCommand: npm test + uses: paambaati/codeclimate-action@v2.7.5 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} @@ -65,10 +64,10 @@ jobs: - run: npm ci - run: npm run build env: - GATSBY_GITHUB_TOKEN: ${{ secrets.GATSBY_GITHUB_TOKEN }} + GATSBY_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/upload-artifact@v1 - if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' with: name: public path: public @@ -88,3 +87,4 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}