Generate Snake #729
This file contains 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
# GitHub Action for generating a contribution graph with a snake eating your contributions. | |
name: Generate Snake | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Generate Snake | |
uses: Platane/snk@main | |
id: snake-gif | |
with: | |
github_user_name: ${{ github.repository_owner }} | |
outputs: | | |
dist/github-contribution-grid-snake.svg | |
dist/github-snake-dark.svg?palette=github-dark | |
- name: Push to GitHub | |
uses: EndBug/[email protected] | |
with: | |
branch: main | |
message: 'Generate Contribution Snake' |