diff --git a/bin/deploy-vhost b/bin/deploy-vhost index c4ec261..60a2730 100755 --- a/bin/deploy-vhost +++ b/bin/deploy-vhost @@ -84,6 +84,7 @@ my $timestamp = gmtime->strftime('%Y-%m-%dT%H-%M-%S'); if ($timestamped_deploy && $action eq "deploy") { $vcspath_install = "$vcspath-$timestamp"; } +$conf->{vcspath_install} = $vcspath_install; # Ensure that the conf_dir and private_conf_dir elements are references to a list of config dirs. foreach my $dir (qw( conf_dir private_conf_dir )){ diff --git a/lib/mySociety/Deploy.pm b/lib/mySociety/Deploy.pm index 5dbfc62..657b35c 100644 --- a/lib/mySociety/Deploy.pm +++ b/lib/mySociety/Deploy.pm @@ -174,6 +174,7 @@ sub write_settings_file { \$vhost = '$conf->{vhost}'; \$vhost_dir = '$conf->{vhost_dir}'; \$vcspath = '$conf->{vcspath}'; +\$vcspath_install = '$conf->{vcspath_install}'; \$site = '$conf->{site}'; \$staging = '$conf->{staging}'; \$vhost_first = '$vhost_first';