diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 253c5bbda..f7195a9e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,4 @@ +# TODO: remove this as submodules aren't used anymore. variables: GIT_SUBMODULE_STRATEGY: recursive @@ -67,3 +68,20 @@ build-docker-image: - docker:dind script: - docker build -t marigold/ligo ./docker + +pages: + image: node:8 + before_script: + - cd gitlab-pages/website + - npm install + script: + - npm run build + - pwd + - cd ../.. + - pwd + - cp -r gitlab-pages/website/build/ligo public + artifacts: + paths: + - public + only: + - master diff --git a/gitlab-pages/.gitlab-ci.yml b/gitlab-pages/.gitlab-ci.yml deleted file mode 100644 index 1d6954b9c..000000000 --- a/gitlab-pages/.gitlab-ci.yml +++ /dev/null @@ -1,16 +0,0 @@ -image: node:8 - -before_script: - - cd website - - npm install - -pages: - script: - - npm run build - - cd .. - - cp -r website/build/ligo public - artifacts: - paths: - - public - only: - - master