From 7285c58add56e2ac6b5f7bf62914f0615ac23c9f Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Fri, 2 Feb 2024 01:26:09 -0500 Subject: [PATCH] Expose DITHER_SERVER in deploy step --- .github/workflows/deploy.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 280f589..252ca85 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -35,13 +35,6 @@ jobs: KEY: ${{ github.workspace }}/secret.key run: cd bin/dither && bundle exec ruby dither.rb >> dither.log 2>&1 & - - name: Test build - env: - DITHER_SERVER: http://localhost:4567 - run: | - source bin/get-last-commit.sh - hugo - - name: Install SSH deploy key if: ${{ github.ref == 'refs/heads/main' }} env: @@ -58,4 +51,5 @@ jobs: if: ${{ github.ref == 'refs/heads/main' }} env: SERVER_IP: ${{ secrets.SERVER_IP }} + DITHER_SERVER: http://localhost:4567 run: bin/deploy