From a421945e836591c72f9750eaf9dd6f859bd2564a Mon Sep 17 00:00:00 2001 From: Nate Robbins <31457698+robbins@users.noreply.github.com> Date: Mon, 9 Jan 2023 19:21:30 -0500 Subject: [PATCH] Push updated flake.lock --- .github/workflows/deploy-infrastructure.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy-infrastructure.yml b/.github/workflows/deploy-infrastructure.yml index 69fc349..0598ef7 100644 --- a/.github/workflows/deploy-infrastructure.yml +++ b/.github/workflows/deploy-infrastructure.yml @@ -56,3 +56,10 @@ jobs: - name: Terraform Apply run: terraform apply -auto-approve -input=false + + - name: Push updated flake.lock + if: github.event.action == 'site_updated' + run: | + git config user.name github-actions + git config user.email github-actions@github.com + git push