davideisinger.com

My personal website
Log | Files | Refs | README

commit 7285c58add56e2ac6b5f7bf62914f0615ac23c9f
parent 56f08b487345a7e703c1e0ece8388e41b66bdb30
Author: David Eisinger <[email protected]>
Date:   Fri,  2 Feb 2024 01:26:09 -0500

Expose DITHER_SERVER in deploy step

Diffstat:
M.github/workflows/deploy.yml | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git 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