name: Generate Contribution Snake on: schedule: - cron: "0 0 * * *" # Runs every day at midnight workflow_dispatch: # Allow manual runs jobs: build: runs-on: ubuntu-latest steps: # 1. Checkout repo - name: Checkout repository uses: actions/checkout@v3 # 2. Generate snake SVG - name: Generate Snake uses: Platane/snk/svg-only@v3 with: github_user_name: Alvin-Zilverstand outputs: dist/snake.svg # 3. Push generated snake to output branch - name: Push Snake to output branch uses: EndBug/add-and-commit@v9 with: add: "dist/snake.svg" new_branch: output message: "chore: update snake animation"