Mirror of my personal README
personal readme mirror about-me

Testing with animation

Changed files
+34
.github
workflows
+34
.github/workflows/snake.yml
··· 1 + name: Generate snake animation 2 + 3 + on: 4 + schedule: # execute every 12 hours 5 + - cron: "* */12 * * *" 6 + 7 + workflow_dispatch: 8 + 9 + push: 10 + branches: 11 + - master 12 + 13 + jobs: 14 + generate: 15 + permissions: 16 + contents: write 17 + runs-on: ubuntu-latest 18 + timeout-minutes: 5 19 + 20 + steps: 21 + - name: generate snake.svg 22 + uses: Platane/snk/svg-only@v3 23 + with: 24 + github_user_name: ${{ github.repository_owner }} 25 + outputs: dist/snake.svg?palette=github-dark 26 + 27 + 28 + - name: push snake.svg to the output branch 29 + uses: crazy-max/ghaction-github-pages@v3.1.0 30 + with: 31 + target_branch: output 32 + build_dir: dist 33 + env: 34 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}