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