From c215ae3ac767a2907ab86311afe148babe72d580 Mon Sep 17 00:00:00 2001 From: UltraLion <49597041+UltraLionfr@users.noreply.github.com> Date: Tue, 11 Jul 2023 22:35:40 +0200 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8b4e31f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: Generate Datas + +on: + schedule: # execute every 12 hours + - cron: "* */12 * * *" + workflow_dispatch: + +jobs: + build: + name: Jobs to update datas + runs-on: ubuntu-latest + steps: + # Snake Animation + - uses: Platane/snk@master + id: snake-gif + with: + github_user_name: {{UltraLionfr}} + svg_out_path: dist/github-contribution-grid-snake.svg + + - uses: crazy-max/ghaction-github-pages@v2.1.3 + with: + target_branch: output + build_dir: dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}