Commit 66e9f35b authored by Beatriz Cunha's avatar Beatriz Cunha

Update gitlab-ci file.

parent 8fdcd6e7
Pipeline #1971 passed with stages
in 4 minutes and 14 seconds
......@@ -42,6 +42,7 @@ Deploy to production:
- chmod 600 ~/.ssh/deploy.pem
- find . -type d -exec chmod 775 {} \;
- find . -type f -exec chmod 664 {} \;
- find ./vendor/drush/drush -type f -exec chmod 775 {} \;
- rsync -rlDvzpc --delete --exclude 'sites/default' --exclude '.git/' --exclude 'ci/' --exclude '.gitlab-ci.yml' --exclude 'scopus' --exclude 'themes/rebase/.sass-cache/' --exclude 'themes/rebase/scss' --exclude 'scripts' . production:/var/www/html
- ssh production 'mkdir -p -m 0775 /var/www/html/sites/default'
- ssh production 'mkdir -p -m 0775 /var/www/html/sites/default/files'
......
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