-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 754 Bytes
/
Copy pathsnake.yml
File metadata and controls
28 lines (24 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Generate Snake
on:
schedule:
- cron: "0 */12 * * *" # runs every 12 hours automatically
workflow_dispatch: # lets you run it manually too
jobs:
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: generate snake.svg
uses: Platane/snk/svg-only@v3
with:
github_user_name: Hassan0703
outputs: |
dist/github-contribution-grid-snake.svg
dist/github-contribution-grid-snake-dark.svg?palette=github-dark
- name: push snake.svg to output branch
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}