Skip to content

Commit 5433edd

Browse files
authored
fix: docs (#98)
1 parent 0666ff8 commit 5433edd

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/production_operations.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,20 @@ This guide is for production operations on the Gitcoin Data Layer.
135135
- pnpm db:cache:migrate
136136
- pnpm db:copy-cache -f {{ green | blue (should be the source environment) }}
137137
- pnpm db:migrate
138+
- Set hasura config `nano ./scripts/hasura-config/.env`
138139

139-
5. Wait until the new deployment is stable.
140-
6. Run `Promote Blue Green (Start upgrade - Step 2)` workflow
141-
7. Validate that is stable and working, you can go to the hasura api task on ECS and get the IP address of the task and check if the api is working. (You can rollback running again `Promote Blue Green (Start upgrade - Step 2)`)
142-
8. Once you are sure that the new deployment is stable, you can destroy the old deployment by running `Destroy Blue Green (Start upgrade - Step 3)` workflow
140+
```tsx
141+
HASURA_ENDPOINT={{PUBLIC_IP_ECS_TASK}}
142+
HASURA_ADMIN_SECRET={{YOUR_HASURA_ADMIN_SECRET}}
143+
HASURA_SCHEMA=public
144+
```
145+
146+
- pnpm api:configure
147+
148+
5. Wait until the new deployment is stable,you can go to the hasura api task on ECS and get the IP address of the task and check if the api is working. (You can rollback running again using `Promote Blue Green (Start upgrade - Step 2)` workflow)
149+
6. Run `Promote Blue Green (Start upgrade - Step 2)` workflow.
150+
7. Validate that is stable and working .
151+
8. Once you are sure that the new deployment is stable, you can destroy the old deployment by running `Destroy Blue Green (Start upgrade - Step 3)` workflow.
143152

144153
## For New chain
145154

0 commit comments

Comments
 (0)