-
Notifications
You must be signed in to change notification settings - Fork 36
75 lines (68 loc) · 1.98 KB
/
deploy-production.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: Deploy production
on:
workflow_run:
workflows: ["CI"]
branches: ["master"]
types:
- completed
jobs:
deploy_sepolia:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Deploy Blobscan API (sepolia)
runs-on: ubuntu-latest
environment:
name: sepolia
url: https://sepolia.blobscan.com
steps:
- uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: deploy
port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_KEY }}
script: ./deploy-blobscan.sh
deploy_holesky:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Deploy Blobscan API (holesky)
runs-on: ubuntu-latest
environment:
name: holesky
url: https://holesky.blobscan.com
steps:
- uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: deploy
port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_KEY }}
script: ./deploy-blobscan.sh
deploy_gnosis:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Deploy Blobscan API (gnosis)
runs-on: ubuntu-latest
environment:
name: gnosis
url: https://gnosis.blobscan.com
steps:
- uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: deploy
port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_KEY }}
script: ./deploy-blobscan.sh
deploy_mainnet:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Deploy Blobscan API (mainnet)
runs-on: ubuntu-latest
environment:
name: mainnet
url: https://blobscan.com
steps:
- uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: deploy
port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_KEY }}
script: ./deploy-blobscan.sh