Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
593e535
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
772a871
chore: add crv to fe
Sep 13, 2024
1d2449e
Merge pull request #103 from InjectiveLabs/chore/add-crv-perp-to-fe
ThomasRalee Sep 13, 2024
63f97df
chore: generate json files
ThomasRalee Sep 13, 2024
68d2c3a
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
c8ff1e3
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
f8a1b2d
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
8ac6ac2
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
12ddff6
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
9c76748
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
ea00c38
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
4e93025
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
7f3dc24
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
ec8db75
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
f217e42
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
5c5f377
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
56f13a6
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
c27f5b8
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
fc40158
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
47e74ca
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
fcf1737
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
0bbd54b
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
d564ea8
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
5287bd2
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
34c56b2
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
f463435
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
cdd0e3e
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
70c03c5
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
f8ba52f
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
3003478
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
aacde3b
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
cba99e9
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
c1de379
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
69211e4
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
02a5eb2
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
727a901
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
d77dd5a
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
0e50432
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
d72c514
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
0c2323a
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
8c13769
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
de6b9f3
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
24aa6c6
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
f4c03b7
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
becc1fa
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
34d1476
chore: generate json files - skip deploy
ThomasRalee Sep 13, 2024
cbc0ab2
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
7a05f32
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
5d1906c
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
5a37e46
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
c1936f3
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
7894706
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
20e2ebe
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
87a30d2
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
9f064a9
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
f1634f4
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
8ed8178
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
d975d81
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
a92b603
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
1859e81
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
dddc589
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
f8b2a82
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
bdd1629
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
707ce2e
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
cce5d25
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
194a8e3
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
d20b396
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
5acf803
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
9fe581c
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
224cdac
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
6b5822a
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
fe744c6
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
24b0534
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
4ea24e9
chore: update validator image
ThomasRalee Sep 14, 2024
565453e
chore: generate json files
ThomasRalee Sep 14, 2024
f91f8a0
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
7b66b37
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
61d9778
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
308e857
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
5221d68
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
29f4f0c
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
533554a
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
a7018fa
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
ed1cb72
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
b250248
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
0603069
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
89cad6d
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
369a2a8
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
55570d8
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
1f96a4f
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
793c48d
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
0849897
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
a7b144c
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
c8f6c00
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
ab90f80
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
5690ca4
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
bc57115
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
6572f79
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
d6005a8
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
490d79f
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
c83b411
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
020b87e
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
3ae4269
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
18658cd
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
8faff8d
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
ce854d9
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
e89a051
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
c6f3d24
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
8ab2951
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
d8f2269
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
e3cef2e
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
5760c7e
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
ae71b32
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
67aa644
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
be35fb5
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
4f57ce2
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
f5570ed
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
0ff9780
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
3623503
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
75c0f93
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
f590167
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
dc15dd2
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
73be78c
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
5a56449
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
b099a89
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
83278f9
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
97b08aa
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
1101e63
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
7d44466
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
028af77
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
d60919a
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
ea99c7c
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
d4a2d55
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
ea42fdb
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
a1bad61
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
476db9a
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
45b96c7
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
2f75a69
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
35ee36a
chore: generate json files - skip deploy
ThomasRalee Sep 14, 2024
d66059f
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
366c718
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
1d11eb5
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
544cb6c
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
93ba4f3
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
eee0a58
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
dd92c4f
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
9de0f28
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
22cf3d4
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
3eda0af
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
c5b2e9d
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
39aa975
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
cb9f1db
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
7c98901
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
7c16e0f
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
2272ff2
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
4efe2eb
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
f1bb845
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
11e7e1e
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
1f559d6
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
ca52731
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
d2df605
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
94f4813
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
b40e642
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
cb8cb0a
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
6e7c369
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
7819330
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
80fc265
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
0810142
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
7b78058
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
aa5bd20
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
6480c8a
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
354cec8
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
2cfab68
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
fd9b816
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
788c91a
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
323e0b8
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
28ef402
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
c8ad747
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
3fac14c
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
794037a
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
0ace923
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
d1b7c60
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
0b4d8d3
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
56f6ed7
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
c061872
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
af9cd47
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
8e52323
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
556dbfd
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
a506706
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
588980f
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
2b8c383
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
b3a890b
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
5ab2ad7
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
0fd49c4
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
cb07ba6
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
ed1264c
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
583d73c
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
cb3dc4b
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
66bc261
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
c90a180
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
9483f63
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
c4f45f4
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
5990ac3
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
f9da627
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
a80243a
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
ad8bb78
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
e1b93ef
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
cdedb03
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
3566162
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
e38407d
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
26b6c3e
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
c3f51ac
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
f42427c
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
e81e1b3
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
675ca90
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
363fc2e
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
4e0660d
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
e7721f4
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
3f0b2b5
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
d503a1e
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
4d1d233
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
5dd900e
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
5236ef8
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
6f3cc43
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
8db6312
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
8f1556b
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
c1ee647
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
10eff16
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
cbd2f1d
chore: generate json files - skip deploy
ThomasRalee Sep 15, 2024
56d8a21
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
4d311cf
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
cde431c
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
b385f69
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
5f3afe2
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
87d3434
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
34ce79e
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
6b0c235
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
048b957
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
256c9e3
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
85f44dc
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
86afaf6
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
73bd0f3
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
86d1fa0
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
d965d56
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
a1642bd
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
f0a32fa
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
72ce86c
Create accountLabels.json
Lahnshen Sep 16, 2024
d4767a3
Add files via upload
Lahnshen Sep 16, 2024
074282a
chore: generate json files - skip deploy
ThomasRalee Sep 16, 2024
97c5d7e
Merge pull request #1 from InjectiveLabs/master
Lahnshen Sep 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
127 changes: 127 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
name: Injective list - Deploy UI

on:
workflow_dispatch:
push:
branches:
- master

jobs:
deploy:
if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.commits[0].message, 'generate json files') && !contains(github.event.commits[0].message, 'skip deploy') }}
name: "Trigger deployments"
runs-on: ubuntu-latest
permissions: write-all
env:
## Github Actions
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
SKIP_DEPLOYMENTS: ${{ secrets.SKIP_DEPLOYMENTS }}

steps:
- name: Sleep for 60s
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
uses: juliangruber/[email protected]
with:
time: 60s

- name: Deploy mito (devnet)
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
uses: benc-uk/[email protected]
with:
workflow: devnet.yml
ref: dev
repo: mitoFinance/mito-ui
token: "${{ secrets.GH_TOKEN }}"

- name: Deploy mito
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
uses: benc-uk/[email protected]
with:
workflow: mainnet.yml
ref: master
repo: mitoFinance/mito-ui
token: "${{ secrets.GH_TOKEN }}"

- name: Deploy bridge (devnet)
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
uses: benc-uk/[email protected]
with:
workflow: devnet.yml
ref: dev
repo: injectiveLabs/injective-bridge
token: "${{ secrets.GH_TOKEN }}"

- name: Deploy bridge (mainnet)
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
run: curl -X POST -d {} https://api.netlify.com/build_hooks/660d7b9ab0d0ef0b0f685131

- name: Rebuild helix (devnet)
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
uses: benc-uk/[email protected]
with:
workflow: devnet.yml
ref: dev
repo: injectiveLabs/injective-helix
token: "${{ secrets.GH_TOKEN }}"

- name: Rebuild helix
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
uses: benc-uk/[email protected]
with:
workflow: mainnet.yml
ref: master
repo: injectiveLabs/injective-helix
token: "${{ secrets.GH_TOKEN }}"

- name: Deploy explorer (devnet)
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
uses: benc-uk/[email protected]
with:
workflow: devnet.yml
ref: dev
repo: injectiveLabs/injective-explorer
token: "${{ secrets.GH_TOKEN }}"

- name: Deploy explorer (testnet)
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
uses: benc-uk/[email protected]
with:
workflow: testnet.yaml
ref: master
repo: injectiveLabs/injective-explorer
token: "${{ secrets.GH_TOKEN }}"

- name: Deploy explorer
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
uses: benc-uk/[email protected]
with:
workflow: mainnet.yaml
ref: master
repo: injectiveLabs/injective-explorer
token: "${{ secrets.GH_TOKEN }}"

- name: Rebuild hub (devnet)
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
uses: benc-uk/[email protected]
with:
workflow: devnet.yml
ref: dev
repo: injectiveLabs/injective-hub
token: "${{ secrets.GH_TOKEN }}"

- name: Rebuild Hub
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
uses: benc-uk/[email protected]
with:
workflow: mainnet.yml
ref: master
repo: injectiveLabs/injective-hub
token: "${{ secrets.GH_TOKEN }}"

- name: Deploy OLP (mainnet)
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
run: curl -X POST -d {} https://api.netlify.com/build_hooks/6656effe7e59027d29160fd5

- name: Deploy Admin UI (mainnet)
if: ${{ env.SKIP_DEPLOYMENTS != 'true' }}
run: curl -X POST -d {} https://api.netlify.com/build_hooks/665708f5e5ef6799ac221b79
75 changes: 75 additions & 0 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Injective list - Generate data

on:
workflow_dispatch:
schedule:
- cron: '*/15 * * * *'
push:
branches:
- master

jobs:
generate:
if: ${{ !contains(github.event.commits[0].message, 'generate json files') }}
name: "Regenerate JSON files"
runs-on: ubuntu-latest
permissions: write-all
env:
## Github Actions
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
CLOUD_FLARE_API_KEY: ${{ secrets.CLOUD_FLARE_API_KEY }}
CLOUD_FLARE_ACCOUNT_ID: ${{ secrets.CLOUD_FLARE_ACCOUNT_ID }}
CLOUD_FLARE_ACCOUNT_HASH: ${{ secrets.CLOUD_FLARE_ACCOUNT_HASH }}
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}
ALCHEMY_GOERLI_KEY: ${{ secrets.ALCHEMY_GOERLI_KEY }}
ALCHEMY_SEPOLIA_KEY: ${{ secrets.ALCHEMY_SEPOLIA_KEY }}
MAINNET_FEE_PAYER: ${{ secrets.MAINNET_FEE_PAYER }}
TESTNET_FEE_PAYER: ${{ secrets.TESTNET_FEE_PAYER }}
DEVNET_FEE_PAYER: ${{ secrets.DEVNET_FEE_PAYER }}


steps:
- uses: actions/checkout@v4
with:
token: "${{ secrets.GH_TOKEN }}"
- run: |
git reset --hard origin/master

- name: Install dependencies
run: cd ts-scripts && yarn

- name: Generate tokens
uses: borales/actions-yarn@v4
with:
cmd: tokens:generate
dir: "ts-scripts"

- name: Generate validators
uses: borales/actions-yarn@v4
with:
cmd: validators:generate
dir: "ts-scripts"

- name: Generate market slugs
uses: borales/actions-yarn@v4
with:
cmd: slugs:generate
dir: "ts-scripts"

- name: Generate wasm messages
uses: borales/actions-yarn@v4
with:
cmd: wasm:generate
dir: "ts-scripts"

- name: Commit changes
uses: EndBug/add-and-commit@v9
if: ${{ github.event_name == 'push' && !contains(github.event.commits[0].message, 'skip deploy') }}
with:
message: "chore: generate json files"

- name: Commit changes
uses: EndBug/add-and-commit@v9
if: ${{ github.event_name != 'push' || contains(github.event.commits[0].message, 'skip deploy') }}
with:
message: "chore: generate json files - skip deploy"
41 changes: 41 additions & 0 deletions .github/workflows/ofac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Injective list - Fetch OFAC wallets

on:
schedule:
- cron: "40 2 * * *" # Every day at 02:30 PM

jobs:
generate:
name: "Refetch OFAC wallets"
runs-on: ubuntu-latest
permissions: write-all
env:
## Github Actions
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
CLOUD_FLARE_API_KEY: ${{ secrets.CLOUD_FLARE_API_KEY }}
CLOUD_FLARE_ACCOUNT_ID: ${{ secrets.CLOUD_FLARE_ACCOUNT_ID }}
CLOUD_FLARE_ACCOUNT_HASH: ${{ secrets.CLOUD_FLARE_ACCOUNT_HASH }}
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}
ALCHEMY_GOERLI_KEY: ${{ secrets.ALCHEMY_GOERLI_KEY }}
ALCHEMY_SEPOLIA_KEY: ${{ secrets.ALCHEMY_SEPOLIA_KEY }}

steps:
- uses: actions/checkout@v4
with:
token: "${{ secrets.GH_TOKEN }}"
- run: |
git reset --hard origin/master

- name: Install dependencies
run: cd ts-scripts && yarn

- name: Refetch OFAC lists
uses: borales/actions-yarn@v4
with:
cmd: wallets:ofac
dir: "ts-scripts"

- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: "chore: fetch ofac addresses"
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.env
node_modules/

.yarn
.DS_Store
Loading