From 8834c450220056d0ca22c7b8e91e46da02118a2b Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Mon, 27 Jun 2022 02:11:41 +0200 Subject: [PATCH] chore: setup Gitlab pages --- .gitignore | 1 + .gitlab-ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c92181c..a634910 100644 --- a/.gitignore +++ b/.gitignore @@ -190,3 +190,4 @@ dist .pnp.* /_site/ +/public/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0ddcf23..313c6ed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,10 +12,10 @@ pages: stage: deploy script: - npm install - - npm run build + - npm run build -- --output=public artifacts: paths: - - _site + - public rules: - if: $CI_COMMIT_BRANCH == "main"