chore: setup Gitlab pages
This commit is contained in:
parent
9722532ec2
commit
8834c45022
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -190,3 +190,4 @@ dist
|
|||
.pnp.*
|
||||
|
||||
/_site/
|
||||
/public/
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue