Commit ff6a4e70 authored by Tom Käsler's avatar Tom Käsler Committed by Tom Käsler

update deploy job

parent 6075d9e4
......@@ -55,7 +55,8 @@ deploy:
script:
- chmod -R a+rX,ug+w .
- eval $(ssh-agent -s)
- mkdir ~/.ssh && echo "$STAGING_SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- mkdir ~/.ssh
- ssh-keyscan "$STAGING_FRONTEND_URL" >> ~/.ssh/known_hosts
- ssh-add <(echo "$STAGING_SSH_PRIVATE_KEY")
- scp -r dist/* "$STAGING_FRONTEND_SSH_URL"
- scp -r dist/* "$STAGING_FRONTEND_SCP_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