Skip to content

Release and Deploy Contract #11

Release and Deploy Contract

Release and Deploy Contract #11

Workflow file for this run

name: Release and Deploy Contract
on:
push:
branches:
- main
workflow_dispatch:
inputs:
generate-tag:
description: 'Generate a new tag'
required: true
default: 'true'
custom-tag:
description: 'Custom tag to be used if generate-tag is false'
required: false
default: ''
network:
description: 'Network to deploy contract to'
required: true
default: 'holesky'
type: choice
options:
- holesky
environment:
description: 'Environment to deploy contract to'
required: true
default: 'dev'
type: choice
options:
- dev
jobs:
auto-release:
uses: init4tech/actions/.github/workflows/auto-release.yml@main
permissions:
contents: write
with:
generate-tag: true
custom-tag: ${{ github.event.inputs.custom-tag }}
deploy-contract:
uses: init4tech/actions/.github/workflows/solidity-deployment.yml@main

Check failure on line 41 in .github/workflows/cd.yml

View workflow run for this annotation

GitHub Actions / Release and Deploy Contract

Invalid workflow file

The workflow is not valid. .github/workflows/cd.yml (Line: 41, Col: 11): Input forge-deployment-signature is required, but not provided while calling. .github/workflows/cd.yml (Line: 41, Col: 11): Input deployed-contract is required, but not provided while calling.
needs: auto-release
permissions:
contents: read
id-token: write
with:
network: holesky
environment: dev
forge-deployment-script: DeployZenith
secrets:
aws-deployer-role: ${{ secrets.AWS_DEPLOYER_ROLE }}
holesky-kms-key-id: ${{ secrets.HOLESKY_DEPLOYER_KEY_ID }}
holesky-rpc-url: ${{ secrets.HOLESKY_RPC_URL }}
etherscan-api-key: ${{ secrets.ETHERSCAN_API_KEY }}