Skip to content

Commit

Permalink
setup custom branch for connect and advance tools
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Nov 21, 2023
1 parent be21124 commit 49cc0e1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build-non-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ on:
separator:
type: string
required: true
connect-branch:
type: string
required: true
default: development
advance-tools-branch:
type: string
required: true
default: main
outputs:
branch-sha:
description: "Branch SHA"
Expand Down Expand Up @@ -74,7 +82,7 @@ jobs:
with:
repository: xLabs/portal-bridge-ui
# TODO replace with the advance tools branch after cutover
ref: main
ref: ${{inputs.advance-tools-branch}}
- name: Set up Node environment
uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -156,7 +164,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: wormhole-foundation/wormhole-connect
ref: development
ref: ${{inputs.connect-branch}}
path: wormhole-connect
- name: Build Wormhole Connect
run: |
Expand Down Expand Up @@ -217,7 +225,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: wormhole-foundation/wormhole-connect
ref: development
ref: ${{inputs.connect-branch}}
path: wormhole-connect
- name: Build Wormhole Connect
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
with:
name: preview
separator: P
connect-branch: portal-bridge
advance-tools-branch: advance-tools
deploy:
name: "Deploy Preview"
needs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
with:
name: testnet
separator: T
connect-branch: portal-bridge
advance-tools-branch: advance-tools
deploy:
name: "Deploy Testnet"
needs:
Expand Down

0 comments on commit 49cc0e1

Please sign in to comment.