diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b58bbf9..1ad0ade 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,7 @@ pages: fi - rm -rf public/$CURRENT_CONTENT_PATH || true # remove last version of current branch script: + - mkdir -p public/$CURRENT_CONTENT_PATH - cp -R src/* public/$CURRENT_CONTENT_PATH/. - cd public/$EPHEMERAL_BRANCHES_PATH - tree -d -H '.' -L 1 --noreport --charset utf-8 -T "Versions" -o index.html # generate a root HTML listing all previews for easier access