chore: setup Gitlab pages

pull/1/head
Jalil Arfaoui 2022-06-27 02:11:41 +02:00
parent 9722532ec2
commit 8834c45022
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -190,3 +190,4 @@ dist
.pnp.* .pnp.*
/_site/ /_site/
/public/

View File

@ -12,10 +12,10 @@ pages:
stage: deploy stage: deploy
script: script:
- npm install - npm install
- npm run build - npm run build -- --output=public
artifacts: artifacts:
paths: paths:
- _site - public
rules: rules:
- if: $CI_COMMIT_BRANCH == "main" - if: $CI_COMMIT_BRANCH == "main"