Skip to content

Generate contribution snake #16

Generate contribution snake

Generate contribution snake #16

Workflow file for this run

name: Generate contribution snake
on:
schedule:
- cron: "23 3 * * *"
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
jobs:
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Generate snake SVGs
uses: Platane/snk/svg-only@v3
with:
github_user_name: ${{ github.repository_owner }}
outputs: |
dist/github-contribution-grid-snake.svg
dist/github-contribution-grid-snake-dark.svg?palette=github-dark
- name: Publish to output branch
uses: crazy-max/ghaction-github-pages@v4
with:
build_dir: dist
target_branch: output
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}