-
Notifications
You must be signed in to change notification settings - Fork 5
51 lines (50 loc) · 1.24 KB
/
deploy-uat.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
name: ▶️ Deploy UAT
on:
workflow_dispatch:
inputs:
redeploy_contracts:
description: 'redeploy contracts'
required: true
type: boolean
jobs:
build:
name: Build
uses: ./.github/workflows/tpl-images.yml
secrets: inherit
with:
image-tag: ${{ github.sha }}
git-ref: ${{ github.ref }}
run:
name: Run
uses: ./.github/workflows/tpl-start-env.yml
secrets: inherit
with:
git-ref: ${{ github.ref }}
env-type: uat
workflow-id: ${{ github.run_id }}
deploy:
name: Deploy
needs:
- build
- run
uses: ./.github/workflows/tpl-deploy-app.yml
with:
env-type: uat
branch-head-ref: ${{ github.ref }}
env-id: ${{ needs.run.outputs.env-id }}
deployment-id: ${{ needs.run.outputs.deployment-id }}
image-tag: ${{ github.sha }}
workflow-id: ${{ github.run_id }}
# ---
deploy-contracts: ${{ inputs.redeploy_contracts }}
chain-id: 11155111
network-name: sepolia
chain-name: sepolia
snapshotter-enabled: true
scheduler-enabled: true
vault-confirm-withdrawals-enabled: true
glm-claim-enabled: true
decision-window: 1800
epoch-duration: 3600
secrets: inherit