Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 176 Bytes
#!/bin/bash
hexo clean
hexo generate -f
if [[ $# -eq 1 && $1 == "algolia" ]]; then
hexo algolia
fi
sw-precache --config sw-config.js
cp service-worker.js public
hexo deploy