Eclectic Media Git eclecticmedia.space / master deploy.sh
master

Tree @master (Download .tar.gz)

deploy.sh @masterraw · history · blame

#1 /bin/bash

git push webserver master

function run_remote() {
  ssh arianagiroux@git-server "cd eclecticmedia.space && $@"
}

run_remote git merge master
scp static/css/style.css arianagiroux@git-server:eclecticmedia.space/static/css/style.css
# run_remote node-sass eclecticmedia.space static/css/style.css
run_remote cp -r static/* /var/www/eclecticmedia.space/static/