Skip to content

Commit 3d6eba4

Browse files
committed
test auto deploy
1 parent 1c4c33e commit 3d6eba4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/ci-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
runs-on: ubuntu-latest
141141
needs: promote-image
142142
if: ${{ github.ref_type == 'branch' && github.event_name != 'pull_request' && github.ref_name == 'develop' }}
143-
environment: development
143+
environment: staging
144144

145145
steps:
146146
- name: Send repository dispatch

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ The API can be configured using the following environment variables:
1313
Preferred way is a .env file.
1414

1515
| Variable | Required | Default value | Allowed / Example value |
16-
|-------------------------------------|----------|---------------|----------------------------------------------------------------------------------------------------------|
16+
| ----------------------------------- | -------- | ------------- | -------------------------------------------------------------------------------------------------------- |
1717
| `OPENSHOCK__DB__CONN` | x | | `Host=postgres-server-host;Port=5432;Database=openshock;Username=openshock;Password=superSecurePassword` |
1818
| `OPENSHOCK__DB__SKIPMIGRATION` | | `false` | `true`, `false` |
1919
| `OPENSHOCK__DB__DEBUG` | | `false` | `true`, `false` |
2020
| `OPENSHOCK__FRONTEND__BASEURL` | x | | `https://my-openshock-instance.net` or `https://shocklink.net` |
2121
| `OPENSHOCK__FRONTEND__SHORTURL` | x | | `https://myoi.net` or `https://shockl.ink` |
2222
| `OPENSHOCK__FRONTEND__COOKIEDOMAIN` | x | | `my-openshock-instance.net` |
23-
| `OPENSHOCK__REDIS__CONN` | x | | `redis-server-host:6379` |
23+
| `OPENSHOCK__REDIS__CONN` | x | | `redis-server-host:6379` |
2424
| `OPENSHOCK__MAIL__SENDER__EMAIL` | x | | `system@my-openshock-instance.net` |
2525
| `OPENSHOCK__MAIL__SENDER__NAME` | x | | `MyOpenShockInstance System` |
2626
| `OPENSHOCK__MAIL__TYPE` | x | | `MAILJET`, `SMTP` |
2727
| `OPENSHOCK__TURNSTILE__ENABLE` | x | | `true`, `false` |
2828
| `OPENSHOCK__LCG__FQDN` | x | | `de1-gateway.my-openshock-instance.net` `de1-gateway.shocklink.net` |
29-
| `OPENSHOCK__LCG__COUNTRYCODE` | x | | `DE` |
29+
| `OPENSHOCK__LCG__COUNTRYCODE` | x | | `DE` or `XX` as a placeholder / unknown |
3030

3131
Refer to the [Npgsql Connection String](https://www.npgsql.org/doc/connection-string-parameters.html) documentation page for details about `OPENSHOCK__DB_CONN`.
3232
Refer to [StackExchange.Redis Configuration](https://stackexchange.github.io/StackExchange.Redis/Configuration.html) documentation page for details about `OPENSHOCK__REDIS__CONN`.
@@ -36,9 +36,9 @@ Refer to [StackExchange.Redis Configuration](https://stackexchange.github.io/Sta
3636
When Turnstile enable is set to `true`, the following environment variable is required:
3737

3838
| Variable | Required | Default value | Allowed / Example value |
39-
|-----------------------------------|----------|---------------|-------------------------|
39+
| --------------------------------- | -------- | ------------- | ----------------------- |
4040
| `OPENSHOCK__TURNSTILE__SITEKEY` | x | | |
41-
| `OPENSHOCK__TURNSTILE__SECRETKEY` | x | | |
41+
| `OPENSHOCK__TURNSTILE__SECRETKEY` | x | | |
4242

4343
## EMail
4444

@@ -47,7 +47,7 @@ When Turnstile enable is set to `true`, the following environment variable is re
4747
You need these environment variables to use [Mailjet](https://www.mailjet.com/):
4848

4949
| Variable | Required | Default value | Allowed / Example value |
50-
|-----------------------------------------------------|----------|---------------|-------------------------|
50+
| --------------------------------------------------- | -------- | ------------- | ----------------------- |
5151
| `OPENSHOCK__MAIL__MAILJET__KEY` | x | | |
5252
| `OPENSHOCK__MAIL__MAILJET__SECRET` | x | | |
5353
| `OPENSHOCK__MAIL__MAILJET__TEMPLATE__PASSWORDRESET` | x | | |
@@ -57,7 +57,7 @@ You need these environment variables to use [Mailjet](https://www.mailjet.com/):
5757
You need these environment variables to use SMTP:
5858

5959
| Variable | Required | Default value | Allowed / Example value |
60-
|--------------------------------------------|----------|---------------|------------------------------------|
60+
| ------------------------------------------ | -------- | ------------- | ---------------------------------- |
6161
| `OPENSHOCK__MAIL__SMTP__HOST` | x | | `mail.my-openshock-instance.net` |
6262
| `OPENSHOCK__MAIL__SMTP__PORT` | | `587` | `587` |
6363
| `OPENSHOCK__MAIL__SMTP__USERNAME` | x | | `system@my-openshock-instance.net` |

0 commit comments

Comments
 (0)