Skip to content

Update

Update #18555

Workflow file for this run

name: Update
on:
push:
schedule:
- cron: 0,42 * * * *
workflow_dispatch:
permissions:
contents: write
jobs:
fetch:
name: Fetch stats card img
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'pnpm'
- run: pnpm i
- run: pnpm run download
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
keep_files: true
force_orphan: true
publish_branch: dist