GitLab CI: deploy to pages on develop branch
This commit is contained in:
parent
d81c31ce63
commit
3d008e46a9
1 changed files with 13 additions and 0 deletions
|
@ -60,3 +60,16 @@ docs-deploy:
|
||||||
# before_script:
|
# before_script:
|
||||||
# - yarn
|
# - yarn
|
||||||
# - yarn build
|
# - yarn build
|
||||||
|
|
||||||
|
pages:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- yarn build
|
||||||
|
- mv static public
|
||||||
|
variables:
|
||||||
|
NODE_ENV: production
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
- develop
|
||||||
|
|
Loading…
Reference in a new issue