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

Update gitlab-ci file.

parent 8fdcd6e7
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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'