Skip to content

Generate Snake

Generate Snake #704

Workflow file for this run

name: Generate Snake
on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch: # ๐Ÿ‘‰ Actions ํƒญ์—์„œ Run ๋ฒ„ํŠผ ๋‚˜ํƒ€๋‚จ
push: # ๐Ÿ‘‰ snake.yml ์ˆ˜์ •ยท์ปค๋ฐ‹ํ•˜๋ฉด ๋ฐ”๋กœ ์‹คํ–‰
paths:
- '.github/workflows/snake.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: Platane/snk@v3
with:
# GitHub user name to read the contribution graph from (**required**)
# using action context var `github.repository_owner` or specified user
github_user_name: ${{ github.repository_owner }}
outputs: |
dist/github-snake.svg
dist/github-snake-dark.svg?palette=github-dark
dist/ocean.gif?color_snake=#FF6FA1&color_dots=#2B1124,#73304C,#B46B7A,#E6A8A0,#FBE7D3s
- uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}