aboutsummaryrefslogtreecommitdiff
path: root/bin/hook
diff options
context:
space:
mode:
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