File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release and Deploy Contract
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+ inputs :
9+ generate-tag :
10+ description : ' Generate a new tag'
11+ required : true
12+ default : ' true'
13+ custom-tag :
14+ description : ' Custom tag to be used if generate-tag is false'
15+ required : false
16+ default : ' '
17+ network :
18+ description : ' Network to deploy contract to'
19+ required : true
20+ default : ' holesky'
21+ type : choice
22+ options :
23+ - holesky
24+ environment :
25+ description : ' Environment to deploy contract to'
26+ required : true
27+ default : ' dev'
28+ type : choice
29+ options :
30+ - dev
31+
32+ permissions :
33+ packages : write
34+ contents : write
35+
36+ jobs :
37+ auto-release :
38+ uses : init4tech/actions/.github/workflows/auto-release.yml@main
39+ with :
40+ generate-tag : true
41+ custom-tag : ${{ github.event.inputs.custom-tag }}
42+ deploy-contract :
43+ uses : init4tech/actions/.github/workflows/solidity-deployment.yml@main
44+ needs : auto-release
45+ with :
46+ network : ${{ github.event.inputs.network }}
47+ environment : ${{ github.event.inputs.environment }}
48+ forge-deployment-script : " DeployZenith"
49+ secrets :
50+ aws-deployer-role : ${{ secrets.AWS_DEPLOYER_ROLE }}
51+ holesky-kms-key-id : ${{ secrets.HOLESKY_DEPLOYER_KEY_ID }}
52+ holesky-rpc-url : ${{ secrets.HOLESKY_RPC_URL }}
53+ etherscan-api-key : ${{ secrets.ETHERSCAN_API_KEY }}
You can’t perform that action at this time.
0 commit comments