To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 02ef6686 authored by Florian Moser's avatar Florian Moser
Browse files

Copy vendors

parent c537ae1e
Pipeline #101136 failed with stage
in 11 seconds
......@@ -3,12 +3,9 @@ deploy:
only:
- master
before_script:
# install dependencies
# download dependencies
- composer install
# remove dev-time .env
- rm -d .env
# setup SSH
- apk add --update openssh-client bash
- eval $(ssh-agent -s)
......@@ -18,4 +15,9 @@ deploy:
- ssh-keyscan thealternative.ch >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
# update files with git
- ssh thealt-website@thealternative.ch 'cd /home/thealt-website/website; git pull'
# replace dependencies
- ssh thealt-website@thealternative.ch 'cd /home/thealt-website/website; rm -rf vendors'
- scp -ra vendors thealt-website@thealternative.ch:/home/thealt-website/website
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