Skip to content

Commit 293ff4b

Browse files
committed
merge master
1 parent 9562cfc commit 293ff4b

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/docker-prod.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: (Production) Build and Deploy
22

33
on:
4+
push:
5+
branches:
6+
- stellar-scaffold
7+
paths:
8+
- "packages/ui/api/**"
49
workflow_dispatch:
510

611
permissions:

.github/workflows/docker-stg.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: (Staging) Build and Deploy
22

33
on:
44
push:
5-
branches: [master]
65
paths:
7-
- 'packages/ui/api/**'
6+
- "packages/ui/api/**"
87
workflow_dispatch:
98
inputs:
109
branch:
11-
description: 'Branch to build from'
10+
description: "Branch to build from"
1211
required: true
13-
default: 'master'
12+
# default: master TODO
13+
default: "stellar-scaffold"
1414
type: string
1515

1616
permissions:
@@ -68,6 +68,7 @@ jobs:
6868
runs-on: ubuntu-latest
6969
needs: build-and-push
7070
env:
71+
DEPLOYMENT_URL: https://wizard-api-stg.openzeppelin.com/
7172
ROLE_FOR_OIDC: "${{ secrets.ROLE_FOR_OIDC }}"
7273
ROLE_TO_ASSUME: "${{ secrets.ROLE_TO_ASSUME }}"
7374
ECS_CLUSTER: ${{ vars.ECS_STG_CLUSTER }}

packages/ui/rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export default [
130130
'process.env.NODE_DEBUG': JSON.stringify(process.env.NODE_DEBUG),
131131
'process.env.API_HOST': JSON.stringify(production ? '' : `http://localhost:${process.env.API_PORT || 3000}`),
132132
'process.env.FARGATE_HOST': JSON.stringify(
133-
production ? 'TODO' : `http://localhost:${process.env.FARGATE_PORT || 8888}`,
133+
production ? 'https://wizard-api.openzeppelin.com' : `http://localhost:${process.env.FARGATE_PORT || 8888}`,
134134
),
135135
}),
136136

0 commit comments

Comments
 (0)