diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3849bed639abd25a0ee1ee70ddd24489c90ba5f2..fa6ff39f58ccb5676c4458f6ab17db84ba6e8945 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -92,36 +92,3 @@ deploy: - git submodule update --init --recursive - poetry install - poetry run make rsync_upload - -pages: - stage: build - image: buildkite/puppeteer:10.0.0 - variables: - GIT_STRATEGY: clone - before_script: - - apt-get update && apt-get install -y jq - - yarn install - script: - - yarn lint - - yarn build - - rm -rf public - - mv dist public - # copy markdown pages so these can be reused by other sites, if needed - - cp -r src/pages public/pages - # 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 - # Gzip compression, cf https://webd97.de/post/gitlab-pages-compression/ - - gzip -k -6 $(find public -type f) - cache: - key: front_node_modules - paths: - - "node_modules" - artifacts: - expire_in: 2 weeks - paths: - - public/ - only: - - main@funkwhale/funkwhale.audio - tags: - - docker