-
Eliot Berriot authoredVerified4b843235
.gitlab-ci.yml 615 B
stages:
- build
pages:
stage: build
image: funkwhale/front-base
variables:
GIT_STRATEGY: clone
before_script:
- yarn install
script:
- yarn lint
- yarn i18n-compile
- yarn build
- rm -rf public
- mv dist public
# ugly hack from https://gitlab.com/gitlab-org/gitlab-pages/issues/23#note_57499396
# until Gitlab Pages has better support for SPA
- cp public/index.html public/404.html
cache:
key: front_node_modules
paths:
- "node_modules"
artifacts:
paths:
- public/
only:
- master@funkwhale/funkwhale.audio
tags:
- docker