Skip to content

Generate Snake

Generate Snake #71

Workflow file for this run

name: Generate Snake
on:
schedule:
- cron: "0 */12 * * *" # runs every 12 hours automatically
workflow_dispatch: # lets you run it manually too
jobs:
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: generate snake.svg
uses: Platane/snk/svg-only@v3
with:
github_user_name: Hassan0703
outputs: |
dist/github-contribution-grid-snake.svg
dist/github-contribution-grid-snake-dark.svg?palette=github-dark
- name: push snake.svg to output branch
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}