diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fef4eefeb99d89bb726eed0f6abbf61bd890625b..eeae893ccef829982dfdaf91d3323d4151e1ac44 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,9 @@ test: pages: stage: deploy script: - # GitLab pages _requires_ the build be in public/ + # GitLab pages _requires_ the build be in public. Move any existing folder + # out of the way. + - if [ -d "public" ]; then mv public public.old; fi - mv build public artifacts: paths: