put release artifacts in ds4 directory
This commit is contained in:
parent
2db60b1b76
commit
74be1d4e13
2 changed files with 5 additions and 4 deletions
|
@ -45,11 +45,12 @@ build:
|
|||
stage: build
|
||||
script:
|
||||
- npm run build
|
||||
- mv dist ds4
|
||||
cache:
|
||||
<<: *global_cache
|
||||
artifacts:
|
||||
paths:
|
||||
- dist
|
||||
- ds4
|
||||
expire_in: 1 week
|
||||
|
||||
deploy:
|
||||
|
@ -58,7 +59,7 @@ deploy:
|
|||
dependencies:
|
||||
- build
|
||||
script:
|
||||
- rsync --delete -az ./dist/ rsync://${DEPLOYMENT_USER}@${DEPLOYMENT_SERVER}:${DEPLOYMENT_PATH}
|
||||
- rsync --delete -az ./ds4/ rsync://${DEPLOYMENT_USER}@${DEPLOYMENT_SERVER}:${DEPLOYMENT_PATH}
|
||||
environment:
|
||||
name: production
|
||||
url: https://vtt.f3l.de/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue