Added deployment details to readme
This commit is contained in:
parent
b141200ddb
commit
1816ba5505
17
README.md
17
README.md
@ -96,3 +96,20 @@ Run all checks
|
||||
```shell
|
||||
npm run validate
|
||||
```
|
||||
|
||||
## Deployment
|
||||
|
||||
This project uses Github actions to deploy changes pushed to the `main` branch to fly.io.
|
||||
|
||||
The deployment pipeline is defined in [.github/workflows/deploy.yml](.github/workflows/deploy.yml)
|
||||
and [fly.toml](fly.toml). Authentication to fly.io is enabled by
|
||||
a `FLY_API_TOKEN` [repository secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository).
|
||||
|
||||
The following commands were used to initialize the fly application.
|
||||
|
||||
```shell
|
||||
fly apps create awesome-radio-1ae3
|
||||
fly secrets set SESSION_SECRET=$(openssl rand -hex 32) --app awesome-radio-1ae3
|
||||
fly volumes create data --size 1 --app awesome-radio-1ae3
|
||||
fly scale memory 512 --app awesome-radio-1ae3
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user