name:Generate Snake Animationon:workflow_dispatch:schedule:# equal UTC/GMT+8 "30 5,17 * * *"- cron:"30 9,21 * * *"jobs:generate:permissions:contents:writeruns-on:ubuntu-latesttimeout-minutes:10steps:# https://github.com/Platane/snk- name:generate github-contribution-grid-snake.svguses:Platane/snk/svg-only@v3with:github_user_name:${{ github.repository_owner }}outputs:| dist/github-contribution-grid-snake.svg
dist/github-contribution-grid-snake-dark.svg?palette=github-dark# push the content of <build_dir> to a branch# the content will be available at https://raw.githubusercontent.com/<github_user>/<repository>/<target_branch>/<file>- name:push github-contribution-grid-snake.svg to the output branchuses:crazy-max/ghaction-github-pages@v4with:target_branch:outputbuild_dir:distenv:GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}