|
8 | 8 |
|
9 | 9 | jobs: |
10 | 10 | deploy: |
11 | | - if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.commits[0].message, 'generate json files') && !contains(github.event.commits[0].message, 'skip deploy') }} |
| 11 | + # if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.commits[0].message, 'generate json files') && !contains(github.event.commits[0].message, 'skip deploy') }} |
12 | 12 | name: "Trigger deployments" |
13 | 13 | runs-on: ubuntu-latest |
14 | 14 | permissions: write-all |
|
24 | 24 | with: |
25 | 25 | time: 60s |
26 | 26 |
|
27 | | - - name: Deploy mito (devnet) |
28 | | - if: ${{ env.SKIP_DEPLOYMENTS != 'true' }} |
29 | | - |
30 | | - with: |
31 | | - workflow: devnet.yml |
32 | | - ref: dev |
33 | | - repo: mitoFinance/mito-ui |
34 | | - token: "${{ secrets.GH_TOKEN }}" |
35 | | - |
36 | 27 | - name: Deploy mito |
37 | 28 | if: ${{ env.SKIP_DEPLOYMENTS != 'true' }} |
38 | 29 | |
|
42 | 33 | repo: mitoFinance/mito-ui |
43 | 34 | token: "${{ secrets.GH_TOKEN }}" |
44 | 35 |
|
45 | | - - name: Deploy bridge (devnet) |
46 | | - if: ${{ env.SKIP_DEPLOYMENTS != 'true' }} |
47 | | - |
48 | | - with: |
49 | | - workflow: devnet.yml |
50 | | - ref: dev |
51 | | - repo: injectiveLabs/injective-bridge |
52 | | - token: "${{ secrets.GH_TOKEN }}" |
53 | | - |
54 | 36 | - name: Deploy bridge (mainnet) |
55 | 37 | if: ${{ env.SKIP_DEPLOYMENTS != 'true' }} |
56 | 38 | |
|
60 | 42 | repo: injectiveLabs/injective-bridge |
61 | 43 | token: "${{ secrets.GH_TOKEN }}" |
62 | 44 |
|
63 | | - - name: Rebuild helix (devnet) |
64 | | - if: ${{ env.SKIP_DEPLOYMENTS != 'true' }} |
65 | | - |
66 | | - with: |
67 | | - workflow: devnet.yml |
68 | | - ref: dev |
69 | | - repo: injectiveLabs/injective-helix |
70 | | - token: "${{ secrets.GH_TOKEN }}" |
71 | | - |
72 | 45 | - name: Rebuild helix |
73 | 46 | if: ${{ env.SKIP_DEPLOYMENTS != 'true' }} |
74 | 47 | |
|
78 | 51 | repo: injectiveLabs/injective-helix |
79 | 52 | token: "${{ secrets.GH_TOKEN }}" |
80 | 53 |
|
81 | | - - name: Deploy explorer (devnet) |
82 | | - if: ${{ env.SKIP_DEPLOYMENTS != 'true' }} |
83 | | - |
84 | | - with: |
85 | | - workflow: devnet.yml |
86 | | - ref: dev |
87 | | - repo: injectiveLabs/injective-explorer |
88 | | - token: "${{ secrets.GH_TOKEN }}" |
89 | | - |
90 | 54 | - name: Deploy explorer |
91 | 55 | if: ${{ env.SKIP_DEPLOYMENTS != 'true' }} |
92 | 56 | |
|
96 | 60 | repo: injectiveLabs/injective-explorer |
97 | 61 | token: "${{ secrets.GH_TOKEN }}" |
98 | 62 |
|
99 | | - - name: Rebuild hub (devnet) |
100 | | - if: ${{ env.SKIP_DEPLOYMENTS != 'true' }} |
101 | | - |
102 | | - with: |
103 | | - workflow: devnet.yml |
104 | | - ref: dev |
105 | | - repo: injectiveLabs/injective-hub |
106 | | - token: "${{ secrets.GH_TOKEN }}" |
107 | | - |
108 | 63 | - name: Rebuild Hub |
109 | 64 | if: ${{ env.SKIP_DEPLOYMENTS != 'true' }} |
110 | 65 | |
|
0 commit comments