Skip to content

Jokes

Jokes #752

Workflow file for this run

# Visit https://github.com/lowlighter/metrics#-documentation for full reference
name: Jokes
on:
# Schedule updates (At 12:30AM Every Night)
schedule: [{ cron: "30 0 * * *" }]
# Lines below let you run workflow manually and on each commit
workflow_dispatch:
push: { branches: ["master", "main"] }
jobs:
github-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: XKCD of the day
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.screenshot.svg
token: NOT_NEEDED
base: ""
plugin_screenshot: yes
plugin_screenshot_title: XKCD of the day
plugin_screenshot_url: https://xkcd.com
plugin_screenshot_selector: "#comic img"