Skip to content

Commit ef6a646

Browse files
authored
Create blank.yml
1 parent ca43b93 commit ef6a646

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/blank.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# GitHub Action for generating a contribution graph with a snake eating your contributions.
2+
3+
name: Generate Snake
4+
5+
on:
6+
schedule:
7+
- cron: "0 0 * * *"
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2.3.4
17+
18+
- name: Generate Snake
19+
uses: Platane/snk@master
20+
id: snake-gif
21+
with:
22+
github_user_name: ${{ github.repository_owner }}
23+
gif_out_path: ./assets/github-contribution-grid-snake.gif
24+
svg_out_path: ./assets/github-contribution-grid-snake.svg
25+
26+
- name: Push to GitHub
27+
uses: EndBug/add-and-commit@v7.2.1
28+
with:
29+
branch: main
30+
message: 'Generate Contribution Snake'

0 commit comments

Comments
 (0)