blog.trnck.dev
1name: Audit live site
2on:
3 workflow_run:
4 workflows: [pages-build-deployment]
5 types:
6 - completed
7
8jobs:
9 audit:
10 runs-on: ubuntu-latest
11 if: ${{ github.event.workflow_run.conclusion == 'success' }}
12 steps:
13 - name: Audit live URL
14 uses: jakejarvis/lighthouse-action@master
15 with:
16 url: 'https://blog.trnck.dev/'
17 - name: Upload results as an artifact
18 uses: actions/upload-artifact@master
19 with:
20 name: report
21 path: './report'