diff --git a/composer.lock b/composer.lock index 0b99f80..181e00b 100644 --- a/composer.lock +++ b/composer.lock @@ -6955,16 +6955,16 @@ }, { "name": "symfonycasts/reset-password-bundle", - "version": "v1.7.0", + "version": "v1.8.0", "source": { "type": "git", "url": "https://github.com/SymfonyCasts/reset-password-bundle.git", - "reference": "368a4f64fc4f8174234fc91f9b22d5016257211b" + "reference": "a41cceff06039e586619b1505af05f77b22b41b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SymfonyCasts/reset-password-bundle/zipball/368a4f64fc4f8174234fc91f9b22d5016257211b", - "reference": "368a4f64fc4f8174234fc91f9b22d5016257211b", + "url": "https://api.github.com/repos/SymfonyCasts/reset-password-bundle/zipball/a41cceff06039e586619b1505af05f77b22b41b5", + "reference": "a41cceff06039e586619b1505af05f77b22b41b5", "shasum": "" }, "require": { @@ -6982,7 +6982,7 @@ "require-dev": { "doctrine/doctrine-bundle": "^2.0.3", "doctrine/orm": "^2.7", - "friendsofphp/php-cs-fixer": "^2.17", + "friendsofphp/php-cs-fixer": "^3.0", "symfony/framework-bundle": "^4.4 | ^5.0", "symfony/phpunit-bridge": "^5.0", "vimeo/psalm": "^4.3" @@ -7000,22 +7000,22 @@ "description": "Symfony bundle that adds password reset functionality.", "support": { "issues": "https://github.com/SymfonyCasts/reset-password-bundle/issues", - "source": "https://github.com/SymfonyCasts/reset-password-bundle/tree/v1.7.0" + "source": "https://github.com/SymfonyCasts/reset-password-bundle/tree/v1.8.0" }, - "time": "2021-04-12T17:29:47+00:00" + "time": "2021-05-05T18:21:50+00:00" }, { "name": "symfonycasts/verify-email-bundle", - "version": "v1.4.0", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/SymfonyCasts/verify-email-bundle.git", - "reference": "3935f7375b2fa795f349bb4281ba8bcb754f4c91" + "reference": "8c21aa9aa6b7123afed213e72485e8dad75e5dcf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SymfonyCasts/verify-email-bundle/zipball/3935f7375b2fa795f349bb4281ba8bcb754f4c91", - "reference": "3935f7375b2fa795f349bb4281ba8bcb754f4c91", + "url": "https://api.github.com/repos/SymfonyCasts/verify-email-bundle/zipball/8c21aa9aa6b7123afed213e72485e8dad75e5dcf", + "reference": "8c21aa9aa6b7123afed213e72485e8dad75e5dcf", "shasum": "" }, "require": { @@ -7032,7 +7032,7 @@ "require-dev": { "doctrine/orm": "^2.7", "doctrine/persistence": "^2.0", - "friendsofphp/php-cs-fixer": "^2.17", + "friendsofphp/php-cs-fixer": "^3.0", "symfony/framework-bundle": "^4.4 | ^5.0", "symfony/phpunit-bridge": "^5.0", "vimeo/psalm": "^4.3" @@ -7050,9 +7050,9 @@ "description": "Simple, stylish Email Verification for Symfony", "support": { "issues": "https://github.com/SymfonyCasts/verify-email-bundle/issues", - "source": "https://github.com/SymfonyCasts/verify-email-bundle/tree/v1.4.0" + "source": "https://github.com/SymfonyCasts/verify-email-bundle/tree/v1.5.0" }, - "time": "2021-04-12T17:34:34+00:00" + "time": "2021-05-05T18:08:21+00:00" }, { "name": "twig/extra-bundle", @@ -7569,16 +7569,16 @@ }, { "name": "symfony/maker-bundle", - "version": "v1.30.2", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/maker-bundle.git", - "reference": "a395a85aa4ded6c1fa3da118d60329b64b6c2acd" + "reference": "d01a475fb9a96a46d0c75dbc7fae6eb9a8c85ddb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/maker-bundle/zipball/a395a85aa4ded6c1fa3da118d60329b64b6c2acd", - "reference": "a395a85aa4ded6c1fa3da118d60329b64b6c2acd", + "url": "https://api.github.com/repos/symfony/maker-bundle/zipball/d01a475fb9a96a46d0c75dbc7fae6eb9a8c85ddb", + "reference": "d01a475fb9a96a46d0c75dbc7fae6eb9a8c85ddb", "shasum": "" }, "require": { @@ -7598,7 +7598,7 @@ "composer/semver": "^3.0@dev", "doctrine/doctrine-bundle": "^1.8|^2.0", "doctrine/orm": "^2.3", - "friendsofphp/php-cs-fixer": "^2.8", + "friendsofphp/php-cs-fixer": "^3.0", "friendsoftwig/twigcs": "^4.1.0|^5.0.0", "symfony/http-client": "^4.3|^5.0", "symfony/phpunit-bridge": "^4.3|^5.0", @@ -7637,7 +7637,7 @@ ], "support": { "issues": "https://github.com/symfony/maker-bundle/issues", - "source": "https://github.com/symfony/maker-bundle/tree/v1.30.2" + "source": "https://github.com/symfony/maker-bundle/tree/v1.31.0" }, "funding": [ { @@ -7653,7 +7653,7 @@ "type": "tidelift" } ], - "time": "2021-03-23T13:53:38+00:00" + "time": "2021-05-05T18:41:31+00:00" }, { "name": "symfony/phpunit-bridge", diff --git a/deploy.php b/deploy.php new file mode 100644 index 0000000..d3447b3 --- /dev/null +++ b/deploy.php @@ -0,0 +1,40 @@ +set('deploy_path', '~/{{application}}'); + +// Tasks + +task('build', function () { + run('cd {{release_path}} && build'); +}); + +// [Optional] if deploy fails automatically unlock. +after('deploy:failed', 'deploy:unlock'); + +// Migrate database before symlink new release. + +before('deploy:symlink', 'database:migrate'); +