2013-05-18 14:52:20 +00:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
echo '### Optimizing resources ###'
|
|
|
|
scripts/run_optimize
|
|
|
|
echo '### Modifying cache.manifest ###'
|
2013-06-02 19:35:44 +00:00
|
|
|
sed -i "s/^#.*/# `date`/" cache.manifest
|
2013-05-18 14:52:20 +00:00
|
|
|
echo '### Commit and push ###'
|
|
|
|
git commit -a -m "Prepare deployment"
|
2013-05-18 15:43:27 +00:00
|
|
|
git branch -f gh-pages master
|
2013-05-18 14:52:20 +00:00
|
|
|
git push --all
|