fix: fails deployment when invalid HUGO_VERSION is given or download fails #12
Reference in New Issue
Block a user
No description provided.
Delete Branch "fail-deploy-on-invalid-version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #11
@ -10,6 +10,11 @@ elseecho "installing hugo version $HUGO_VERSION"curl -o hugo.tgz --fail -L "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz" && \tar xvzf hugo.tgz -C $BIN_TARGETres=$?The indentation is borked? It doesn't need to be on the same level as the
&& \ ...line?View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.