We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3aa787 commit b32d93aCopy full SHA for b32d93a
1 file changed
.github/workflows/deploy.yaml
@@ -35,8 +35,11 @@ jobs:
35
cache: yarn
36
cache-dependency-path: explorer/yarn.lock
37
38
- - name: Setup config
39
- run: cp -rf chains/* explorer/chains/
+ - name: Setup testnet config
+ 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/
43
44
- name: Install dependencies
45
working-directory: explorer
@@ -51,6 +54,9 @@ jobs:
51
54
- name: Copy logos
52
55
run: cp -rf logos explorer/dist/
53
56
57
+ - name: Set custom domain
58
+ run: echo testnet.ping.pub > explorer/dist/CNAME
59
+
60
- name: Create SPA 404 fallback
61
run: cp explorer/dist/index.html explorer/dist/404.html
62
0 commit comments