Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bin/deploy-vhost
Original file line number Diff line number Diff line change
Expand Up @@ -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 )){
Expand Down
1 change: 1 addition & 0 deletions lib/mySociety/Deploy.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down