diff options
| author | 2025-08-16 22:56:19 +0700 | |
|---|---|---|
| committer | 2025-08-16 22:56:19 +0700 | |
| commit | c1fefa3e249e97e51f155cfb7276730c99b1cf44 (patch) | |
| tree | 71dca2331c2cac8341f94b857863045f630a6635 /config | |
| parent | b1a1651ad7e7faf7a87aca8fea1cdad156f3606e (diff) | |
| download | web-c1fefa3e249e97e51f155cfb7276730c99b1cf44.tar.gz web-c1fefa3e249e97e51f155cfb7276730c99b1cf44.zip | |
feat: split deploy into 2 environments
fix: rm server exec in repo
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.prod.yaml | 20 | ||||
| -rw-r--r-- | config/config.stage.yaml (renamed from config/config.yaml) | 2 |
2 files changed, 21 insertions, 1 deletions
diff --git a/config/config.prod.yaml b/config/config.prod.yaml new file mode 100644 index 0000000..2d050bf --- /dev/null +++ b/config/config.prod.yaml @@ -0,0 +1,20 @@ +logLevel: info +blogPages: + storage: + type: b2 + config: + bucketName: sayana-pages + region: eu-central-003 + prefix: 'prod-' + keyID: '${B2_KEY_ID}' + applicationKey: '${B2_APPLICATION_KEY}' +localePath: ./locale/ +availableLanguages: + - name: ru + alt: Русский + flag: https://f003.backblazeb2.com/file/sayana-static/flags/ru.svg + locFile: localization.ru.yaml + - name: en + alt: English + flag: https://f003.backblazeb2.com/file/sayana-static/flags/gb.svg + locFile: localization.en.yaml diff --git a/config/config.yaml b/config/config.stage.yaml index dac7b9a..a34a33e 100644 --- a/config/config.yaml +++ b/config/config.stage.yaml @@ -5,7 +5,7 @@ blogPages: config: bucketName: sayana-pages region: eu-central-003 - prefix: '' + prefix: 'stage-' keyID: '${B2_KEY_ID}' applicationKey: '${B2_APPLICATION_KEY}' localePath: ./locale/ |