Skip to content
Snippets Groups Projects
Verified Commit 4b843235 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Added CI script

parent ac77ee7a
No related branches found
No related tags found
No related merge requests found
Pipeline #3743 failed with stage
in 46 seconds
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment