Skip to content

πŸ“Š Generates Metrics #244

πŸ“Š Generates Metrics

πŸ“Š Generates Metrics #244

Workflow file for this run

name: πŸ“Š Generates Metrics
on:
schedule:
- cron: '40 23 * * */4' # Run every evening, twenty mins before midnight
workflow_dispatch: # Or when it's manually triggered
jobs:
Succinct-report:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
filename: static/metrics/pagespeed.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://hutasker.netlify.app
Detailed-report:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
filename: static/metrics/pagespeed.detailed.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_detailed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://hutasker.netlify.app
screenshot:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
filename: static/metrics/pagespeed.screenshot.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_screenshot: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://hutasker.netlify.app