Skip to content

Commit 2fb7d80

Browse files
authored
HOS-744: Add cloud-prod.yml (#1399)
* HOS-744: Add cloud-prod.yml * update workflow
1 parent af8c209 commit 2fb7d80

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.github/workflows/deploy-prd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838
- name: Deploy to Reflex
3939
id: deploy
4040
run: |
41-
reflex deploy --project ${{ secrets.PRD_PROJECT_ID }} --token ${{ secrets.PRD_TOKEN }} --no-interactive
41+
reflex deploy --token ${{ secrets.PRD_TOKEN }} --no-interactive --config cloud-prod.yml

cloud-prod.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: pcweb
2+
description: Production version of pcweb
3+
regions:
4+
sjc: 1
5+
ewr: 2
6+
nrt: 1
7+
lht: 1
8+
vmtype: pc2m4
9+
strategy: rolling
10+
envfile: prod.env
11+
project: 43c03060-d50d-4507-b0d5-19bc05fdf941

docs/hosting/config_file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,5 +176,5 @@ reflex deploy
176176
# Use specific configuration file
177177
reflex deploy --config cloud-prod.yml
178178
reflex deploy --config cloud-staging.yml
179-
```error: The lockfile at `uv.lock` needs to be updated, but `--locked` was provided. To update the lockfile, run `uv lock`.
179+
```
180180

0 commit comments

Comments
 (0)