fuzzyworld

nuts / lava / files / .gitlab-ci.yml

Branch lava · default branch · all branches

.gitlab-ci.yml

316 B · history · blame

1image: node:20-alpine
2
3stages:
4 - deploy
5
6pages:
7 stage: deploy
8 before_script:
9 - npm install -g pnpm
10 - pnpm install --frozen-lockfile
11 script:
12 - pnpm run build
13 - rm -rf public
14 - mv dist public
15 artifacts:
16 paths:
17 - public
18 rules:
19 - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH