Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

SVG pregeneration preview #34

SVG pregeneration preview

SVG pregeneration preview #34

name: SVG pregeneration preview
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '45 23 * * 3'
- cron: '45 16 * * 4'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: szenius/[email protected]
with:
timezoneLinux: "America/Los_Angeles"
- uses: actions/checkout@v2
- run: |
git pull
npm install
npm run svgPregenPreview
git config user.name github-actions
git config user.email [email protected]
git add img/generated/sparklines_staging/*
git commit -m "generated staging sparkline charts"
git push origin main