Commit 6ce86849 authored by Tom Käsler's avatar Tom Käsler

fix paths

parent 242553ee
......@@ -9,12 +9,11 @@ build:
tags:
- nodejs
script:
- cd frontend
- npm install
- npm run prod
artifacts:
paths:
- frontend/dist
- dist
deploy:
stage: deploy
......@@ -25,10 +24,9 @@ deploy:
dependencies:
- build
script:
- chmod -R a+rX,ug+w backend
- chmod -R a+rX,ug+w frontend
- chmod -R a+rX,ug+w .
- eval $(ssh-agent -s)
- mkdir ~/.ssh && echo "$STAGING_SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- ssh-add <(echo "$STAGING_SSH_PRIVATE_KEY")
- scp -r frontend/dist/* "$STAGING_FRONTEND_SSH_URL"
- scp -r dist/* "$STAGING_FRONTEND_SSH_URL"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment