Skip to content

Commit 8990456

Browse files
Create snake.yml
1 parent 6ff70f7 commit 8990456

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/snake.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Generate Datas
2+
3+
on:
4+
schedule: # execute every 12 hours
5+
- cron: "* */12 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
name: Jobs to update datas
11+
runs-on: ubuntu-latest
12+
steps:
13+
# Snake Animation
14+
- uses: Platane/snk@master
15+
id: snake-gif
16+
with:
17+
github_user_name: samuelsonbrito
18+
svg_out_path: dist/github-contribution-grid-snake.svg
19+
20+
- uses: crazy-max/[email protected]
21+
with:
22+
target_branch: output
23+
build_dir: dist
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)