Skip to content

skyline graph

skyline graph #1282

Workflow file for this run

name: skyline graph
on:
# run automatically every 6 hours
schedule:
- cron: "0 */8 * * *"
# allows to manually run the job at any time
workflow_dispatch:
# run on every push on the master branch
push:
branches:
- master
- main
- output
jobs:
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: GitHub City
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.skyline.city.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2023
plugin_skyline_frames: 120
plugin_skyline_quality: 1
plugin_skyline_settings: |
{
"url": "https://honzaap.github.io/GithubCity?name=${login}&year=${year}",
"ready": "[...document.querySelectorAll('.display-info span')].map(span => span.innerText).includes('${login}')",
"wait": 4,
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}