mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2025-08-02 03:31:29 +00:00
simplify ci
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
stages:
|
||||
- build
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
GIT_SUBMODULE_FORCE_HTTPS: "true"
|
||||
@@ -12,8 +8,8 @@ cache: # Cache modules in between jobs
|
||||
paths:
|
||||
- .npm/
|
||||
|
||||
build:
|
||||
stage: build
|
||||
pages:
|
||||
stage: deploy
|
||||
rules:
|
||||
- if: '$CI_COMMIT_REF_NAME == "v4"'
|
||||
before_script:
|
||||
@@ -24,18 +20,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
content
2
content
Submodule content updated: e1aba949a6...b911618701
Reference in New Issue
Block a user