reverted changes for environment variable
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m41s

This commit is contained in:
Andreas Hnida 2024-04-18 14:27:33 +02:00
commit eeae6bc997
3 changed files with 7 additions and 3 deletions

View file

@ -36,7 +36,7 @@ git push -u origin main
Deployment is done via Gitea Runners. The deployment is triggered by a push to the `main` branch. The deployment will automatically build the site and deploy it to the production or preview environment.
You can control where the site is deployed by setting the 'params.environment' variable in the `hugo.toml` file. The value should be either `production` or `development`.
You can control where the site is deployed by setting the 'environment' variable in the `hugo.toml` file. The value should be either `production` or `development`.
This also controls the creation of the robots.txt file. If the value is `development`, the robots.txt file will be created with the following content: