generate animation #51
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
name: generate animation | |
permissions: | |
contents: write | |
on: | |
schedule: | |
- cron: "0 2 * * *" | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: generate github-contribution-grid-snake.svg | |
uses: Platane/snk/svg-only@v3 | |
with: | |
github_user_name: ${{ github.repository_owner }} | |
outputs: | | |
./static/svg/snake-Light.svg | |
./static/svg/snake-Dark.svg | |
- name: Push to GitHub | |
uses: EndBug/[email protected] | |
with: | |
message: 'Generate Contribution Snake' | |
add: '*.svg --force' |