Skip to content

Commit 279249f

Browse files
authored
Create snake.yml
1 parent 953dafe commit 279249f

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/snake.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
- uses: Platane/snk@v3
2+
with:
3+
# github user name to read the contribution graph from (**required**)
4+
# using action context var `github.repository_owner` or specified user
5+
github_user_name: ${{ github.repository_owner }}
6+
7+
# list of files to generate.
8+
# one file per line. Each output can be customized with options as query string.
9+
#
10+
# supported options:
11+
# - palette: A preset of color, one of [github, github-dark, github-light]
12+
# - color_snake: Color of the snake
13+
# - color_dots: Coma separated list of dots color.
14+
# The first one is 0 contribution, then it goes from the low contribution to the highest.
15+
# Exactly 5 colors are expected.
16+
outputs: |
17+
dist/github-snake.svg
18+
dist/github-snake-dark.svg?palette=github-dark
19+
dist/ocean.gif?color_snake=orange&color_dots=#bfd6f6,#8dbdff,#64a1f4,#4b91f1,#3c7dd9

0 commit comments

Comments
 (0)