mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2025-06-16 01:36:40 +00:00
Compare commits
5 Commits
1d66a13715
...
30d4eed297
Author | SHA1 | Date | |
---|---|---|---|
30d4eed297 | |||
02d2c1372e | |||
4929c4f7cf | |||
d063b7f03e | |||
63e447ee62 |
@ -1,19 +1,12 @@
|
|||||||
stages:
|
|
||||||
- build
|
|
||||||
- deploy
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
GIT_SUBMODULE_FORCE_HTTPS: "true"
|
GIT_SUBMODULE_FORCE_HTTPS: "true"
|
||||||
|
GIT_DEPTH: 0
|
||||||
|
|
||||||
|
|
||||||
|
pages:
|
||||||
image: node:22
|
image: node:22
|
||||||
cache: # Cache modules in between jobs
|
stage: deploy
|
||||||
key: $CI_COMMIT_REF_SLUG
|
|
||||||
paths:
|
|
||||||
- .npm/
|
|
||||||
|
|
||||||
build:
|
|
||||||
stage: build
|
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_REF_NAME == "v4"'
|
- if: '$CI_COMMIT_REF_NAME == "v4"'
|
||||||
before_script:
|
before_script:
|
||||||
@ -24,18 +17,6 @@ build:
|
|||||||
- npm ci --cache .npm --prefer-offline
|
- npm ci --cache .npm --prefer-offline
|
||||||
script:
|
script:
|
||||||
- npx quartz build
|
- npx quartz build
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- public
|
|
||||||
# I don't think I need this with my own runners
|
|
||||||
# tags:
|
|
||||||
# - gitlab-org-docker
|
|
||||||
|
|
||||||
pages:
|
|
||||||
stage: deploy
|
|
||||||
rules:
|
|
||||||
- if: '$CI_COMMIT_REF_NAME == "v4"'
|
|
||||||
script:
|
|
||||||
- echo "Deploying to GitLab Pages..."
|
- echo "Deploying to GitLab Pages..."
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,4 +1,4 @@
|
|||||||
[submodule "content"]
|
[submodule "content"]
|
||||||
path = content
|
path = content
|
||||||
url = git@gitlab.com:MisterBiggs/brain.git
|
url = git@gitlab.com:Anson-Projects/brain.git
|
||||||
branch = master
|
branch = master
|
2
content
2
content
@ -1 +1 @@
|
|||||||
Subproject commit e1aba949a626956953e11a9f1c8359a585de3359
|
Subproject commit b911618701a0f3f0f9af90da56dc82fe5fdc1f76
|
Loading…
x
Reference in New Issue
Block a user