Skip to content

Commit d537930

Browse files
committed
Add snake animation workflow
1 parent e1b4ea1 commit d537930

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/snake.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Generate Snake
2+
3+
on:
4+
schedule:
5+
- cron: "0 */12 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: Platane/snk@v3
13+
with:
14+
github_user_name: zelentsov-dev
15+
outputs: |
16+
dist/github-snake.svg
17+
dist/github-snake-dark.svg?palette=github-dark
18+
- uses: crazy-max/ghaction-github-pages@v3
19+
with:
20+
target_branch: output
21+
build_dir: dist
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)