ci: nightly feed, stats, and entropy refresh; fix: snake workflow
This commit is contained in:
parent
3ebe545f10
commit
fe0a9ebff7
3 changed files with 251 additions and 8 deletions
12
.github/workflows/snake.yml
vendored
12
.github/workflows/snake.yml
vendored
|
|
@ -4,19 +4,15 @@ on:
|
|||
schedule:
|
||||
# Runs every 12 hours
|
||||
- cron: "0 */12 * * *"
|
||||
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
generate:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
|
||||
steps:
|
||||
- name: Generate Snake
|
||||
uses: Platane/snk/svg-only@v3
|
||||
|
|
@ -25,11 +21,11 @@ jobs:
|
|||
outputs: |
|
||||
dist/github-contribution-grid-snake.svg
|
||||
dist/github-contribution-grid-snake-dark.svg?palette=github-dark
|
||||
|
||||
|
||||
- name: Push to output branch
|
||||
uses: crazy-max/ghaction-github-pages@v4
|
||||
with:
|
||||
target_branch: output
|
||||
build_dir: dist
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue