mirror of
https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io.git
synced 2025-06-20 16:15:37 +00:00
Initial commit
This commit is contained in:
23
.gitlab-ci.yml
Normal file
23
.gitlab-ci.yml
Normal 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
|
Reference in New Issue
Block a user