<!-- Thank you for doing recipe maintenance work! Please mark all checklist items which are relevant for your changes. Please remove the checklist items which are not relevant for your changes. Feel free to remove this comment. --> * [x] I have deployed and tested my changes * [x] I have [updated relevant versions in `abra.sh`](https://docs.coopcloud.tech/maintainers/upgrade/#updating-versions-in-the-abrash) * [x] I have made my environment variable changes [backwards compatible](https://docs.coopcloud.tech/maintainers/upgrade/#backwards-compatible-environment-variable-changes) * [x] I ran `abra recipe lint parasol-static-site --chaos` on the PR's branch and fixed the warnings. * [x] I have added a [release note entry](https://docs.coopcloud.tech/maintainers/upgrade/#creating-new-release-notes) Reviewed-on: #20 Co-authored-by: stevensting <stefan@klasse-methode.it> Co-committed-by: stevensting <stefan@klasse-methode.it>
50 lines
1.7 KiB
Bash
50 lines
1.7 KiB
Bash
TYPE=parasol-static-site
|
|
|
|
DOMAIN=parasol-static-site.example.com
|
|
#EXTRA_DOMAINS=',`www.parasol-static-site.example.com`'
|
|
LETS_ENCRYPT_ENV=production
|
|
COMPOSE_FILE="compose.yml"
|
|
|
|
# **NOTE** Please change this value to your repo
|
|
HUGO_GIT_URL=ssh://git@codeberg.org:eotl/example-repo.git
|
|
# optionally configure git branch for main domain
|
|
#HUGO_GIT_BRANCH=branch
|
|
|
|
# optionally deploy staging subdomain from this branch
|
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.staging.yml"
|
|
#HUGO_GIT_BRANCH_STAGING=staging
|
|
#EXTRA_DOMAINS="$EXTRA_DOMAINS,`staging.$DOMAIN`"
|
|
|
|
# Configure hugo build mode (takes precedence over the config file)
|
|
HUGO_BASEURL=${DOMAIN}
|
|
HUGO_ENVIRONMENT=production
|
|
# set the used Hugo version optionally, otherwise the version defined in site-badger is used
|
|
#HUGO_VERSION=0.143.1
|
|
|
|
# HTTP Basic Auth protection
|
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.auth.yml"
|
|
#AUTH_USERNAME=foobar
|
|
# Enable protection for /deploy endpoint
|
|
#AUTH_ENABLED=1
|
|
# Enable protection for / endpoint (whole site)
|
|
#AUTH_SITE_ENABLED=1
|
|
# Enable protection for /deploy endpoint for staging site
|
|
#AUTH_STAGING_ENABLED=1
|
|
# Enable protection for / endpoint (whole staging site)
|
|
#AUTH_SITE_STAGING_ENABLED=1
|
|
#SECRET_AUTH_PASSWORD_VERSION=v1
|
|
|
|
# Private repository deployment
|
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.private.yml"
|
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.private.staging.yml"
|
|
#PRIVATE_ENABLED=1
|
|
#SECRET_DEPLOY_KEY_VERSION=v1 # generate=false
|
|
#WHD_HOOK_TIMEOUT=10
|
|
|
|
# Custom deployment script
|
|
# place this in your HUGO_GIT_URL repository root
|
|
# attention: if you use this option you need to add the steps from deploy.sh.tmpl in your custom deploy script
|
|
# starting with "◆ Install or update Hugo Modules"
|
|
#CUSTOM_DEPLOY_ENABLED=1
|
|
#CUSTOM_DEPLOY_SCRIPT=path/customscript.sh
|