forked from yearn/tokenized-strategy-foundry-mix
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 1.1 KB
/
actions-sepolia-vault-keeper.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
name: "[sepolia-deploy] manage vault keeper"
on:
workflow_dispatch:
inputs:
keeper:
description: 'keeper address'
required: true
default: '0x'
vault:
description: 'vault address'
required: true
default: '0x'
jobs:
acceptManagement:
runs-on: ubuntu-latest
environment:
name: sepolia
url: https://term-finance.github.io/yearn-v3-term-vault/
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
submodules: recursive
- uses: foundry-rs/foundry-toolchain@v1
- run: forge install
- run: forge build
- run: forge tree
- run: forge script script/VaultReportingManagement.s.sol:VaultReportingManagement --rpc-url $RPC_URL --broadcast --gas-price 500000000000 --verify --verbosity 4
env:
RPC_URL: ${{ secrets.RPC_URL }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
KEEPER_ADDRESS: ${{ github.event.inputs.keeper }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
VAULT: ${{ github.event.inputs.vault }}