Skip to content

Generate Snake Animation #356

Generate Snake Animation

Generate Snake Animation #356

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: Checkout
uses: actions/checkout@v3
- name: Generate GitHub Contribution Snake
uses: Platane/snk@v3
with:
github_user_name: bello-ibrahm
outputs: |
dist/github-contribution-grid-snake.svg
- name: Push to output branch
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}