-
Notifications
You must be signed in to change notification settings - Fork 13
48 lines (42 loc) · 1.17 KB
/
ci-dev.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
name: CI Dev Holesky
on:
workflow_dispatch:
push:
branches:
- develop
paths-ignore:
- '.github/**'
- 'test/**'
permissions:
contents: read
jobs:
# test:
# ...
deploy:
runs-on: ubuntu-latest
# needs: test
name: Build and deploy
steps:
- name: Holesky testnet deploy
uses: lidofinance/dispatch-workflow@v1
env:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
TARGET_REPO: 'lidofinance/infra-mainnet'
TARGET_WORKFLOW: 'deploy_holesky_testnet_ethereum_staking_widget.yaml'
TARGET: 'develop'
- name: Goerli testnet deploy
uses: lidofinance/dispatch-workflow@v1
env:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
TARGET_REPO: 'lidofinance/infra-mainnet'
TARGET_WORKFLOW: 'deploy_testnet_ethereum_staking_widget.yaml'
TARGET: 'develop'
tests:
needs: deploy
if: ${{ github.event.pull_request.draft == false }}
uses: ./.github/workflows/tests.yml
secrets: inherit
with:
stand_url: https://stake-holesky.testnet.fi