Skip to content

Generate Snake Animation #4

Generate Snake Animation

Generate Snake Animation #4

Workflow file for this run

name: Generate Snake Animation
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
generate:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate snake animation
uses: Platane/snk@v3.5.0
with:
github_user_name: Udhayaboopathi
outputs: |
dist/snake.svg?color_snake=00f5ff&color_dots=0a0a0f,161b22,21262d,00f5ff&color_background=0a0a0f
- name: Copy snake to assets
run: cp dist/snake.svg assets/snake.svg
- name: Commit snake animation
uses: EndBug/add-and-commit@v9
with:
author_name: github-actions[bot]
author_email: 41898282+github-actions[bot]@users.noreply.github.com
message: "chore: update snake contribution animation"
add: assets/snake.svg