From 2e82c62c4a9826c59fc27673f33ebb7f5d8942e4 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Sun, 31 Dec 2023 14:58:20 +1100 Subject: [PATCH] build and deploy together Separately building and committing, and then deploying, ends up deploying the code prior to the committed code. This change builds the site, commits the built code back to the repository, and deploys the updated code to the server. Or at least that's the plan. --- .github/workflows/deploy.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cf93156b..bc2288c7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -41,15 +41,6 @@ jobs: commit_message: build site commit_author: BookWyrm Bot - deploy: - needs: compile - runs-on: ubuntu-latest - - steps: - - - name: Checkout code - uses: actions/checkout@v2 - - name: Deploy to server id: deploy uses: Pendect/action-rsyncer@v2.0.0