Generate Snake #176
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Generate Snake | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" # runs every day | |
| workflow_dispatch: # allows manual trigger | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: Platane/snk@v3 | |
| with: | |
| github_user_name: shupandee | |
| outputs: dist/github-contribution-grid-snake.svg | |
| - name: Push Snake to Output Branch | |
| uses: crazy-max/[email protected] | |
| with: | |
| target_branch: output | |
| build_dir: dist | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |