diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..2510f85 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +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: unepicier + 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 }} \ No newline at end of file diff --git a/README.md b/README.md index b82e314..282d00a 100644 --- a/README.md +++ b/README.md @@ -80,9 +80,11 @@ I'm 19 years old self-taught developer from France :clipperton_island:.