From 747a961fe2219325176453e10b34863c4065b971 Mon Sep 17 00:00:00 2001 From: Nathan Freitas Date: Tue, 21 Apr 2026 23:58:21 +0000 Subject: [PATCH 1/3] Add .gitlab-ci.yml --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..05b12ff --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +# The Docker image that will be used to build your app +image: node:lts +create-pages: + pages: + # The folder that contains the files to be exposed at the Page URL + publish: public + rules: + # This ensures that only pushes to the default branch will trigger + # a pages deploy + - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH + # Functions that should be executed before the build script is run + before_script: + - cd wwww + - npm ci + script: + - npm run build From 2209fcc7961fb157854215e51433fbe63e6431a5 Mon Sep 17 00:00:00 2001 From: n8fr8 Date: Tue, 21 Apr 2026 19:59:23 -0400 Subject: [PATCH 2/3] fix gitlab ci folder --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 05b12ff..3b84492 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ create-pages: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH # Functions that should be executed before the build script is run before_script: - - cd wwww + - cd www - npm ci script: - npm run build From 2ac53d2ebeac8cd5461aa64b524bcb3f387bebd0 Mon Sep 17 00:00:00 2001 From: n8fr8 Date: Tue, 21 Apr 2026 20:01:58 -0400 Subject: [PATCH 3/3] change build path --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3b84492..25ee664 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ image: node:lts create-pages: pages: # The folder that contains the files to be exposed at the Page URL - publish: public + publish: www/build rules: # This ensures that only pushes to the default branch will trigger # a pages deploy