Skip to content

Generate SVG image #3100

Generate SVG image

Generate SVG image #3100

Workflow file for this run

name: Generate SVG image
on:
schedule:
- cron: "0 */12 * * *" # every 12 hours
workflow_dispatch:
push:
branches:
- master
jobs:
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: generate github-contribution-grid-snake.svg
uses: Platane/snk@master
with:
github_user_name: ${{ github.repository_owner }}
svg_out_path: dist/github-contribution-grid-snake.svg
- name: push github-contribution-grid-snake.svg to the output branch
uses: crazy-max/ghaction-github-pages@v4.1.0
with:
target_branch: snake
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.CRON_JOB_GITHUB_TOKEN }}