Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Generate Snake Animation #141

Generate Snake Animation

Generate Snake Animation #141

Workflow file for this run

name: Generate Snake Animation
on:
schedule:
- cron: "0 0 * * *" # runs every day at midnight
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Generate Snake SVG
uses: Platane/snk@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: Push SVG to the output branch
uses: crazy-max/[email protected]
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.PAT }}