Skip to content

Perf: use filesystem cache #1561

Perf: use filesystem cache

Perf: use filesystem cache #1561

Workflow file for this run

name: Build
on:
push:
branches:
- master
schedule:
- cron: '0 12 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- uses: oven-sh/setup-bun@v1
with:
bun-version: canary
- name: Cache cache.db
uses: actions/cache@v3
with:
path: .cache
key: ${{ runner.os }}-v1
- run: bun install
- run: bun run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GIT_TOKEN }}
user_name: ${{ secrets.GIT_USER }}
user_email: ${{ secrets.GIT_EMAIL }}
external_repository: SukkaLab/ruleset.skk.moe
publish_branch: master
publish_dir: public
cname: ruleset.skk.moe