Skip to content

Commit

Permalink
Deployment oneliner
Browse files Browse the repository at this point in the history
  • Loading branch information
JanMikes committed Dec 28, 2023
1 parent 4b55ba6 commit e1b0f46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,4 @@ jobs:
key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
port: ${{ secrets.DEPLOY_PORT }}
script_stop: true
script: |
docker pull ghcr.io/peon-dev/php-recipes:main
cd /app/peon
docker-compose pull
docker-compose up -d
script: cd /deployment/peon && ./deploy.sh
1 change: 0 additions & 1 deletion src/Ui/Controller/UserSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public function __construct(
public function __invoke(Request $request, #[CurrentUser] User $user): Response
{
$changePasswordForm = $this->createForm(ChangePasswordFormType::class);

$changePasswordForm->handleRequest($request);

if ($changePasswordForm->isSubmitted() && $changePasswordForm->isValid()) {
Expand Down

0 comments on commit e1b0f46

Please sign in to comment.