ci: remove redundant build-web job
test + deploy-web already cover what build-web was doing — the test stage validates the build via 'npm run test' (which runs vite build), and deploy-web builds and ships the dist/ to the live site. Keeping build-web around just burned a runner slot to produce a dist/ artifact nobody consumed.
This commit is contained in:
@@ -91,22 +91,6 @@ deploy-nsite:
|
||||
--use-fallback-relays
|
||||
--use-fallback-servers
|
||||
|
||||
build-web:
|
||||
stage: build
|
||||
timeout: 10 minutes
|
||||
needs: []
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never
|
||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
script:
|
||||
- npm ci
|
||||
- npm run build
|
||||
- cp dist/index.html dist/404.html
|
||||
artifacts:
|
||||
paths:
|
||||
- dist/
|
||||
|
||||
release-notes:
|
||||
stage: build
|
||||
timeout: 2 minutes
|
||||
|
||||
Reference in New Issue
Block a user