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

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