reverted changes for environment variable
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m41s
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m41s
This commit is contained in:
parent
c87fb11971
commit
eeae6bc997
3 changed files with 7 additions and 3 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue