Skip to content

Generate Datas

Generate Datas #1177

Workflow file for this run

name: Generate Datas
on:
schedule: # execute every 12 hours
- cron: "0 */12 * * *"
workflow_dispatch:
jobs:
build:
## name: Jobs to update datas
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Snake Animation
- uses: Platane/snk@master
id: snake-gif
with:
github_user_name: booktrackerGirl
gif_out_path: dist/github-contribution-grid-snake.gif
svg_out_path: dist/github-contribution-grid-snake.svg
- run: git status
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
force: true
- uses: crazy-max/ghaction-github-pages@v2.1.3
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}