From e4e7f8742f1fc33b94d51c370bdbf15ba464b82e Mon Sep 17 00:00:00 2001
From: Paul Duncan <pabs@pablotron.org>
Date: Sat, 6 May 2023 04:33:58 -0400
Subject: bin/hook/deploy.rb: fix symlink error

---
 bin/hook/deploy.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'bin/hook')

diff --git a/bin/hook/deploy.rb b/bin/hook/deploy.rb
index 237bd1e..e7fcc1f 100755
--- a/bin/hook/deploy.rb
+++ b/bin/hook/deploy.rb
@@ -45,7 +45,7 @@ BUILDS_DIR = ENV.fetch('DEPLOY_BUILDS_DIR')
 # note: used to be pulled from DEPLOY_HTDOCS_PATH, but newer versions of
 # git are pickier about permissions so now we require this to be
 # "builds/current"
-HTDOCS_PATH = File.join('BUILDS_DIR', 'current')
+HTDOCS_PATH = File.join(BUILDS_DIR, 'current')
 
 # verify that the timestamp from the command-line is within the given
 # amount of time of the current system timestamp
-- 
cgit v1.2.3