Commit 9e9d4bb5 authored by Emiliano Balbuena's avatar Emiliano Balbuena

(chore): Settings backup filename; (fix): Use correct script

1 merge request!173WIP: Local infrastructure provisioner
......@@ -6,6 +6,6 @@ RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/nginx.conf
COPY dev-ssr.conf /etc/nginx/conf.d/dev.conf
COPY nginx_entrypoint_dev.sh /nginx_entrypoint_dev.sh
COPY nginx_entrypoint_dev_ssr.sh /nginx_entrypoint_dev_ssr.sh
ENTRYPOINT /nginx_entrypoint_dev_ssr.sh
......@@ -20,7 +20,7 @@ module.exports = {
const settingsPhp = cwd('engine', 'settings.php');
if (await exists(settingsPhp)) {
const newName = cwd('engine', `settings-${Date.now()}.php`);
const newName = cwd('engine', `settings.php-${Date.now()}.bak`);
return await rename(settingsPhp, newName);
} else {
return task.skip('No settings.php file present')
......
Please register or to comment