Add secrets and variables configuration

This commit is contained in:
Max Schmidt 2023-06-15 14:55:24 +02:00
parent 317e01c498
commit 764b4e5d23

View File

@ -13,7 +13,8 @@ Before getting started with Astroad, make sure you have the necessary software i
## Configuration ## Configuration
While there's no configuration necessary for local development, deployment via Github Workflows requires specific secrets and variables to be set. While there's no configuration necessary for local development, deployment via Github Workflows requires specific secrets and variables to be set.
Secrets:
### Secrets:
- USER: User on the server - USER: User on the server
- HOST: IP or URL of the server - HOST: IP or URL of the server
@ -25,7 +26,7 @@ Secrets:
- PAYLOAD_SECRET: String to encrypt Payload data - PAYLOAD_SECRET: String to encrypt Payload data
- TOKEN: Github Access Token for the webhook to trigger the payload.yml workflow and execute a new Astro build - TOKEN: Github Access Token for the webhook to trigger the payload.yml workflow and execute a new Astro build
Variables: ### Variables:
- ASTRO_HOST: Hostdomain of the Frontend - ASTRO_HOST: Hostdomain of the Frontend
- PAYLOAD_HOST: Hostdomain of the CMS - PAYLOAD_HOST: Hostdomain of the CMS