aboutsummaryrefslogtreecommitdiff
path: root/bin/hook
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-05-02 05:10:55 -0400
committerPaul Duncan <pabs@pablotron.org>2023-05-02 05:10:55 -0400
commit3cd8bda38175ce496c7b8698384a130a9796511e (patch)
treea3be1012db802490546443cb14463fac0c2af0f5 /bin/hook
parent93b9925eeb8cbe1d39c8df38a011bd7f65e39cf1 (diff)
downloadpablotron.org-3cd8bda38175ce496c7b8698384a130a9796511e.tar.bz2
pablotron.org-3cd8bda38175ce496c7b8698384a130a9796511e.zip
bin/hook/deploy.rb: another current update
Diffstat (limited to 'bin/hook')
-rwxr-xr-xbin/hook/deploy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/hook/deploy.rb b/bin/hook/deploy.rb
index 0755326..ed63770 100755
--- a/bin/hook/deploy.rb
+++ b/bin/hook/deploy.rb
@@ -119,6 +119,7 @@ end
link_time = timed do
# update htdocs symlink
+ # (note: this is now always "builds/current")
File.unlink(HTDOCS_PATH) if File.symlink?(HTDOCS_PATH)
File.symlink(DST_DIR, HTDOCS_PATH)
end