You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
169 B

#!/bin/bash
. lib/common
set -e
url=$(relation-get url) || exit 1
mkdir -p "${HOST_HUGO_CONFIG}"
cat <<EOF > "${HOST_HUGO_CONFIG}"/01-baseurl.yaml
baseURL: $url
EOF