put release artifacts in ds4 directory

This commit is contained in:
Johannes Loher 2021-01-06 00:59:22 +01:00
parent 2db60b1b76
commit 74be1d4e13
2 changed files with 5 additions and 4 deletions

View file

@ -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/

View file

@ -22,7 +22,7 @@
"gridUnits": "m",
"primaryTokenAttribute": "combatValues.hitPoints.current",
"url": "https://git.f3l.de/dungeonslayers/ds4",
"manifest": "https://git.f3l.de/dungeonslayers/ds4/-/blob/master/src/system.json",
"download": "https://git.f3l.de/dungeonslayers/ds4/-/archive/master/ds4-master.zip",
"manifest": "https://git.f3l.de/dungeonslayers/ds4/-/raw/latest/src/system.json?inline=false",
"download": "https://git.f3l.de/dungeonslayers/ds4/-/jobs/artifacts/latest/download?job=build",
"license": "MIT"
}