Skip to content

Commit 94a6f4c

Browse files
authored
Create workflow to generate profile data
1 parent 87c7063 commit 94a6f4c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

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

0 commit comments

Comments
 (0)