|
|
|
|
@ -15,6 +15,7 @@ git push # I added this because the server needs something to pull!
|
|
|
|
|
|
|
|
|
|
# 3. Remote Server workflow |
|
|
|
|
# This runs the commands on the server and then closes the connection |
|
|
|
|
ssh newspapers2.islandarchives.ca "cd /var/www/islandnewspapers2/web/themes/custom/olivesnews && git pull && cd /var/www/islandnewspapers2/web/sites/islandnewspapers2 && dr cr" |
|
|
|
|
ssh newspapers2.islandarchives.ca "cd /var/www/islandnewspapers2/web/themes/custom/olivesnews && git pull && cd /var/www/islandnewspapers2/web/sites/islandnewspapers2 && /var/www/islandnewspapers2/vendor/drush/drush/drush cr" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "Done! Deployment successful." |
|
|
|
|
|