1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-31 18:51:28 +00:00

Compare commits

...

5 Commits

Author SHA1 Message Date
30d4eed297 idk man try this 2025-06-06 18:27:15 -06:00
02d2c1372e lean on gitlab some more 2025-06-06 18:22:57 -06:00
4929c4f7cf Remove caching altogether 2025-06-06 18:18:42 -06:00
d063b7f03e Forgot to update the submodule path which was probably causing my issues 2025-06-06 18:15:08 -06:00
63e447ee62 simplify ci 2025-06-06 18:11:01 -06:00
3 changed files with 7 additions and 26 deletions

View File

@@ -1,19 +1,12 @@
stages:
- build
- deploy
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_FORCE_HTTPS: "true"
GIT_DEPTH: 0
image: node:22
cache: # Cache modules in between jobs
key: $CI_COMMIT_REF_SLUG
paths:
- .npm/
build:
stage: build
pages:
image: node:22
stage: deploy
rules:
- if: '$CI_COMMIT_REF_NAME == "v4"'
before_script:
@@ -24,18 +17,6 @@ build:
- npm ci --cache .npm --prefer-offline
script:
- 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..."
artifacts:
paths:

2
.gitmodules vendored
View File

@@ -1,4 +1,4 @@
[submodule "content"]
path = content
url = git@gitlab.com:MisterBiggs/brain.git
url = git@gitlab.com:Anson-Projects/brain.git
branch = master

Submodule content updated: e1aba949a6...b911618701