move app/* to root of repo

This commit is contained in:
Tomáš Mládek 2021-05-16 21:33:59 +02:00
parent 0eefaa7f44
commit e9516556e2
18 changed files with 3 additions and 4 deletions

View file

View file

View file

@ -6,16 +6,15 @@ build site:
image: node:lts
stage: build
script:
- cd app
- npm ci --cache .npm --prefer-offline
- npm run build
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- app/.npm
- .npm
artifacts:
paths:
- app/dist
- dist
deploy site:
image: instrumentisto/rsync-ssh
@ -29,4 +28,4 @@ deploy site:
- chmod 644 ~/.ssh/known_hosts
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- rsync -vr -e "ssh -p ${SSH_PORT}" app/dist/ "${DEPLOY_DEST}"
- rsync -vr -e "ssh -p ${SSH_PORT}" dist/ "${DEPLOY_DEST}"