From 3f818b482d31b7f15d3d1ba38f60a12643668ded Mon Sep 17 00:00:00 2001 From: James Lucas Date: Thu, 21 Sep 2023 16:21:41 +1000 Subject: [PATCH] refactor: Commit changed to package.json after update before applying npm version update --- .github/workflows/deploy-site.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy-site.yaml b/.github/workflows/deploy-site.yaml index 59f311fec..0df189ef4 100644 --- a/.github/workflows/deploy-site.yaml +++ b/.github/workflows/deploy-site.yaml @@ -45,5 +45,7 @@ jobs: git config --global user.name "GitHub Action" git config --global user.email "action@github.com" npm update formBuilder formBuilder-languages + git add . + git commit -m "Update formBuilder to ${{ steps.get-version.outputs.version }}" npm version ${{ steps.get-version.outputs.version }} git push --follow-tags