Skip to content

Generate Snake Animation #83

Generate Snake Animation

Generate Snake Animation #83

Workflow file for this run

name: Generate Snake Animation
on:
schedule:
- cron: "0 0 * * *" # Runs every day at midnight
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Generate snake animation
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: Deploy to output branch
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}