From e7ba2d7fd831d6a01326c10d59a3260fdc0a309f Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 30 Jun 2024 22:39:00 -0400 Subject: [PATCH] gitlab-ci: take into account preview location --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1fdf12e..66998e4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,7 +26,7 @@ pages: fi - rm -rf public/$CURRENT_CONTENT_PATH || true # remove last version of current branch script: - - cp -R src/* public/. + - 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 environment: