1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-01-03 10:25:00 +01:00

repo secrets updates

This commit is contained in:
Matthias Kretschmann 2021-02-06 13:45:47 +01:00
parent 456efc2e8b
commit 5cdd6e801c
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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 }}