fix gitlab ci
This commit is contained in:
parent
2a755dc27a
commit
3b775efa32
1 changed files with 1 additions and 2 deletions
|
|
@ -3,14 +3,13 @@ image: node:lts
|
||||||
create-pages:
|
create-pages:
|
||||||
pages:
|
pages:
|
||||||
# The folder that contains the files to be exposed at the Page URL
|
# The folder that contains the files to be exposed at the Page URL
|
||||||
publish: www/build
|
publish: build
|
||||||
rules:
|
rules:
|
||||||
# This ensures that only pushes to the default branch will trigger
|
# This ensures that only pushes to the default branch will trigger
|
||||||
# a pages deploy
|
# a pages deploy
|
||||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||||
# Functions that should be executed before the build script is run
|
# Functions that should be executed before the build script is run
|
||||||
before_script:
|
before_script:
|
||||||
- cd www
|
|
||||||
- npm ci
|
- npm ci
|
||||||
script:
|
script:
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue