Skip to content

Commit b32d93a

Browse files
committed
Switch deployment to testnet
1 parent e3aa787 commit b32d93a

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ jobs:
3535
cache: yarn
3636
cache-dependency-path: explorer/yarn.lock
3737

38-
- name: Setup config
39-
run: cp -rf chains/* explorer/chains/
38+
- name: Setup testnet config
39+
run: |
40+
mkdir -p explorer/chains/testnet
41+
rm -f explorer/chains/mainnet/*.json explorer/chains/testnet/*.json
42+
cp chains/testnet/*.json explorer/chains/testnet/
4043
4144
- name: Install dependencies
4245
working-directory: explorer
@@ -51,6 +54,9 @@ jobs:
5154
- name: Copy logos
5255
run: cp -rf logos explorer/dist/
5356

57+
- name: Set custom domain
58+
run: echo testnet.ping.pub > explorer/dist/CNAME
59+
5460
- name: Create SPA 404 fallback
5561
run: cp explorer/dist/index.html explorer/dist/404.html
5662

0 commit comments

Comments
 (0)