Skip to content

Generar Snake Animation 🐍 #348

Generar Snake Animation 🐍

Generar Snake Animation 🐍 #348

Workflow file for this run

name: Generar Snake Animation 🐍
on:
schedule:
- cron: "0 0 * * *" # cada día a medianoche
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
permissions:
contents: write # 👈 necesario para subir a output
steps:
- name: Checkout del repositorio
uses: actions/checkout@v4
- name: Instalar dependencias necesarias
run: sudo apt-get install -y imagemagick ffmpeg gifsicle
- name: Generar animación Snake 🐍
uses: Platane/snk@v3
with:
github_user_name: Shnimlz
outputs: |
dist/github-contribution-grid-snake.svg
dist/github-contribution-grid-snake-dark.svg?palette=github-dark
dist/github-contribution-grid-snake.gif
- name: Subir resultados al branch output
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}