#!/bin/sh # depends on ./build_gobbler.sh stamp="200707082000" ########################################## ## HTML-NEW ~bscott/gobbler/ ########################################## # Clean up old js & css files on html-new ssh bscott@html-new.yahoo.com 'rm /homes/bscott/gobbler/*.js' ssh bscott@html-new.yahoo.com 'rm /homes/bscott/gobbler/*.css' # Stage new js & css files # These are dependent on ./build_gobbler.sh for generation scp ./prod_gob_$stamp.js bscott@html-new.yahoo.com:/homes/bscott/gobbler/gob_$stamp.js scp ./prod_gob_$stamp.css bscott@html-new.yahoo.com:/homes/bscott/gobbler/gob_$stamp.css ########################################## ## HTML-NEW yahoo akamai area ########################################## # Clean up prior files ssh bscott@html-new.yahoo.com sudo -u yahoo 'rm /home/yahoo/htdocs.static/lib/yde/gobbler/*.js' ssh bscott@html-new.yahoo.com sudo -u yahoo 'rm /home/yahoo/htdocs.static/lib/yde/gobbler/css/*.css' # Push new js & css files ssh bscott@html-new.yahoo.com sudo -u yahoo 'cp /homes/bscott/gobbler/*.js /home/yahoo/htdocs.static/lib/yde/gobbler/' ssh bscott@html-new.yahoo.com sudo -u yahoo 'cp /homes/bscott/gobbler/*.css /home/yahoo/htdocs.static/lib/yde/gobbler/css/' ssh bscott@html-new.yahoo.com /homes/bscott/akamai_gobbler.sh