From 4de7e8f527c3059e5e758c381673780fe1612729 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Sun, 31 Dec 2023 09:29:32 +1100 Subject: [PATCH] commit build before trying to deploy to server --- .github/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 99b319b3..cf93156b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python 3.9 uses: actions/setup-python@v2 @@ -36,6 +36,11 @@ jobs: run: | python generate.py + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: build site + commit_author: BookWyrm Bot + deploy: needs: compile runs-on: ubuntu-latest