hugo-sandstorm/bin/publish_hugo
2021-06-12 10:54:30 -04:00

11 lines
226 B
Bash
Executable File

#!/bin/sh
if [ ! -f ../hugo-sandstorm-$(cat hugo-version).spk ]; then
echo "You need to bin/pack_hugo first!"
exit 1
fi
vagrant-spk vm up
vagrant-spk publish ../hugo-sandstorm-$(cat hugo-version).spk
vagrant-spk vm halt