Initial commit

This commit is contained in:
2023-10-14 18:21:56 +09:00
commit 52ae36eef2
11 changed files with 83 additions and 0 deletions

23
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,23 @@
image: oven/bun
pages:
stage: deploy
cache:
key:
files:
- bun.lockb
prefix: bun
paths:
- node_modules/
script:
- apt-get update && apt-get install -y calibre --no-install-recommends
- apt-get update && apt-get install -y fontconfig unzip
- unzip "./fonts/*.zip" -d /usr/share/fonts/
&& fc-cache -fv
- bun install
- env LANG=ja_JP.UTF-8 bun run build
- cp -a _book/. public/
artifacts:
paths:
- public/
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH