Skip to content

Generate Snake Animation #50

Generate Snake Animation

Generate Snake Animation #50

Workflow file for this run

name: Generate Snake Animation
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
permissions:
contents: write
jobs:
generate:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate snake animation
uses: Platane/snk@v3
with:
github_user_name: bhedanikhilkumar-code
outputs: |
dist/github-snake.svg?palette=github-dark
- name: Deploy snake to output branch
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_branch: output
force_orphan: true