-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 856 Bytes
/
pagespeed.yml
File metadata and controls
29 lines (26 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Pagespeed
on:
schedule: [{cron: "0 */6 * * *"}]
push: {branches: "master"}
workflow_dispatch:
jobs:
pagespeed:
runs-on: ubuntu-latest
steps:
# Sleep to ensure the github pages deploy is done, by the time the pagespeed gets measured.
- name: Sleep 30 seconds
run: sleep 30s
- uses: lowlighter/metrics@master
with:
use_prebuilt_image: master
token: ${{ secrets.METRICS_TOKEN }}
committer_token: ${{ secrets.GITHUB_TOKEN }}
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
# Options
template: classic
filename: pagespeed.svg
base: ""
config_timezone: Europe/Berlin
plugin_pagespeed: yes
plugin_pagespeed_detailed: yes
plugin_pagespeed_url: https://algorithmik.online/