Bypass Jekyll build on the gh-pages
branch
This commit is contained in:
parent
c8fd0d728d
commit
fc71289dc8
1 changed files with 20 additions and 19 deletions
|
@ -98,6 +98,7 @@ flush() {
|
||||||
|
|
||||||
shopt -s dotglob nullglob
|
shopt -s dotglob nullglob
|
||||||
mv "$_backup_dir"/* .
|
mv "$_backup_dir"/* .
|
||||||
|
[[ -f ".nojekyll" ]] || echo "" >".nojekyll"
|
||||||
}
|
}
|
||||||
|
|
||||||
deploy() {
|
deploy() {
|
||||||
|
@ -134,25 +135,25 @@ main() {
|
||||||
while (($#)); do
|
while (($#)); do
|
||||||
opt="$1"
|
opt="$1"
|
||||||
case $opt in
|
case $opt in
|
||||||
-c | --config)
|
-c | --config)
|
||||||
_config="$2"
|
_config="$2"
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--dry-run)
|
--dry-run)
|
||||||
# build & test, but not deploy
|
# build & test, but not deploy
|
||||||
_opt_dry_run=true
|
_opt_dry_run=true
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
-h | --help)
|
-h | --help)
|
||||||
help
|
help
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# unknown option
|
# unknown option
|
||||||
help
|
help
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue