move app/* to root of repo
parent
0eefaa7f44
commit
e9516556e2
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue