Skip to content

Commit f9e94f5

Browse files
committed
chore: archive lock files on failure
1 parent 028be1a commit f9e94f5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,12 @@ jobs:
103103
else
104104
echo "✅ No uncommitted changes after deploy."
105105
fi
106+
107+
- name: Upload lock files on failure
108+
if: failure()
109+
uses: actions/upload-artifact@v4
110+
with:
111+
name: terraform-lock-files
112+
path: |
113+
**/.terraform.lock.hcl
114+
if-no-files-found: ignore

0 commit comments

Comments
 (0)