This commit is contained in:
2023-10-14 19:14:46 +09:00
parent 6460bc4cb3
commit 5fe0005f68

View File

@ -4,17 +4,17 @@ pages:
cache: cache:
key: key:
files: files:
- bun.lockb - pnpm-lock.yaml
prefix: bun
paths: paths:
- node_modules/ - node_modules/
script: script:
- apt-get update && apt-get install -y calibre --no-install-recommends - apt-get update && apt-get install -y calibre --no-install-recommends
- apt-get update && apt-get install -y fontconfig unzip - apt-get update && apt-get install -y fontconfig unzip sudo
- unzip "./fonts/*.zip" -d /usr/share/fonts/ - unzip "./fonts/*.zip" -d /usr/share/fonts/
&& fc-cache -fv && fc-cache -fv
- pnpm install - sudo corepack enable
- env LANG=ja_JP.UTF-8 pnpm run build - sudo -u node pnpm install
- sudo -u node env LANG=ja_JP.UTF-8 pnpm run build
- cp -a _book/. public/ - cp -a _book/. public/
artifacts: artifacts:
paths: paths: