aboutsummaryrefslogtreecommitdiff
path: root/bin/hook/deploy.rb
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-05-06 04:33:58 -0400
committerPaul Duncan <pabs@pablotron.org>2023-05-06 04:33:58 -0400
commite4e7f8742f1fc33b94d51c370bdbf15ba464b82e (patch)
treeca22f6a61b585d7595e38426616093aaaa648271 /bin/hook/deploy.rb
parent0b19627ee8587b80a4c21443b5e95a264ce2bc5f (diff)
downloadpablotron.org-e4e7f8742f1fc33b94d51c370bdbf15ba464b82e.tar.bz2
pablotron.org-e4e7f8742f1fc33b94d51c370bdbf15ba464b82e.zip
bin/hook/deploy.rb: fix symlink error
Diffstat (limited to 'bin/hook/deploy.rb')
-rwxr-xr-xbin/hook/deploy.rb2
1 files changed, 1 insertions, 1 deletions
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