Browse Source

📝 Add the required GitHub Actions secrets to docs (#679)

pull/13907/head
Sebastián Ramírez 1 year ago
committed by GitHub
parent
commit
3527df959e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 14
      deployment.md

14
deployment.md

@ -146,7 +146,7 @@ You can set several variables, like:
### Generate secret keys
Some environment variables in the `.env` file have a default value of `changethis`.
Some environment variables in the `.env` file have a default value of `changethis`.
You have to change them with a secret key, to generate secret keys you can run the following command:
@ -244,7 +244,17 @@ You can read more about it in the official guide: [Configuring the self-hosted r
On your repository, configure secrets for the environment variables you need, the same ones described above, including `SECRET_KEY`, etc. Follow the [official GitHub guide for setting repository secrets](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository).
The current Github Actions workflows expect two secrets: `DOMAIN_STAGING` and `DOMAIN_PRODUCTION`.
The current Github Actions workflows expect these secrets:
* `DOMAIN_PRODUCTION`
* `DOMAIN_STAGING`
* `EMAILS_FROM_EMAIL`
* `FIRST_SUPERUSER`
* `FIRST_SUPERUSER_PASSWORD`
* `PGADMIN_DEFAULT_EMAIL`
* `PGADMIN_DEFAULT_PASSWORD`
* `POSTGRES_PASSWORD`
* `SECRET_KEY`
## GitHub Action Deployment Workflows

Loading…
Cancel
Save