Skip to content

Commit 9202e45

Browse files
committed
1 parent e930db5 commit 9202e45

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"php": ">=7.4"
1717
},
1818
"require-dev": {
19-
"deployer/deployer": "^7.0.0-rc.5@beta"
19+
"deployer/deployer": "^7.0"
2020
},
2121
"autoload": {
2222
"files": [

recipe/database.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// Create backup
1010
cd('{{release_or_current_path}}');
11-
run("{{bin/php}} {{bin/console}} contao:backup:create '$dumpFilename'");
11+
run("{{bin/console}} contao:backup:create '$dumpFilename'");
1212
info('Backup created on remote machine');
1313

1414
// Download backup
@@ -43,12 +43,12 @@
4343

4444
// Restore backup
4545
cd('{{release_or_current_path}}');
46-
run("{{bin/php}} {{bin/console}} contao:backup:restore '$dumpFilename'");
46+
run("{{bin/console}} contao:backup:restore '$dumpFilename'");
4747
info('Remote database restored');
4848

4949
// Migrate database
5050
try {
51-
run('{{bin/php}} {{bin/console}} contao:migrate {{console_options}} --no-backup');
51+
run('{{bin/console}} contao:migrate {{console_options}} --no-backup');
5252
info('Remote database migrated');
5353
} catch (\Exception $e) {
5454
warning('Database migration skipped');

0 commit comments

Comments
 (0)