Stackedit/run_deploy
2013-05-18 16:43:27 +01:00

10 lines
270 B
Bash

#!/bin/sh
set -e
echo '### Optimizing resources ###'
scripts/run_optimize
echo '### Modifying cache.manifest ###'
sed -i "s/^#.*$/# `date`/g" cache.manifest
echo '### Commit and push ###'
git commit -a -m "Prepare deployment"
git branch -f gh-pages master
git push --all