From 2bfdb3c6a75d001d7d8a1880a59c737415716444 Mon Sep 17 00:00:00 2001 From: Louis <contact@louiscap.co> Date: Mon, 24 Oct 2022 01:03:18 +0000 Subject: [PATCH] Force outputs to public directory --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2f63e2..3dc489a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,10 +7,12 @@ pages: script: - npm ci - CI=false npm run build + - rm -rf public/ + - mv build public only: variables: - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH environment: production artifacts: paths: - - build \ No newline at end of file + - public \ No newline at end of file -- GitLab