Skip to content

Commit 69dd7ac

Browse files
committed
fix(cd): only runs if src/** changes
1 parent c330621 commit 69dd7ac

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'src/**'
79
workflow_dispatch:
810
inputs:
911
generate-tag:
@@ -48,7 +50,7 @@ jobs:
4850
environment: dev
4951
forge-deployment-script: DeployZenith
5052
deployed-contract: Zenith.s.sol
51-
forge-deployment-signature: run()
53+
forge-deployment-signature: "run()"
5254
chain-id: 17000
5355
secrets:
5456
aws-deployer-role: ${{ secrets.AWS_DEPLOYER_ROLE }}

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'src/**'
79
workflow_dispatch:
810

911
permissions:

0 commit comments

Comments
 (0)