Skip to content

Commit ba0bd26

Browse files
authored
Update and rename blank.yml to snake.yml
1 parent 42c70be commit ba0bd26

2 files changed

Lines changed: 29 additions & 36 deletions

File tree

.github/workflows/blank.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/snake.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
```yaml
2+
name: Generate Snake Animation
3+
4+
on:
5+
schedule:
6+
- cron: "0 */12 * * *" # every 12 hours
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- uses: Platane/snk@master
17+
id: snake-gif
18+
with:
19+
github_user_name: Codealpha07
20+
svg_out_path: dist/github-contribution-grid-snake.svg
21+
snake_color: 'blue'
22+
23+
- uses: crazy-max/ghaction-github-pages@v2.1.3
24+
with:
25+
target_branch: output
26+
build_dir: dist
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
```

0 commit comments

Comments
 (0)