From 82d72fa44d00b363b038e98b682dc4229161f8b6 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Tue, 13 Jul 2021 19:36:59 +0200 Subject: [PATCH] Fix build output directory --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20de3c7..a40cee2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,8 +10,9 @@ pages: - echo "{\"api_url\":\"https://api.communiquons.org/admin/\"}" > build/config.json - echo Create 404 page - cp build/index.html build/404.html + - mv build public artifacts: paths: - - build + - public rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH