Commit 39f82e97 authored by Mahmoud Ibrahim Mohammad's avatar Mahmoud Ibrahim Mohammad
Browse files

updated .gitlab-ci.yml

parent 747499a5
image: node:latest
deploy:
script:
- mkdir ~/.ssh
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- touch ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa # Required permission by ssh
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- scp public/index.html app@app.ntnu.no:app/public
only:
- master
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