fix: update error handling in Contact component and disable submit button during submission

This commit is contained in:
2025-06-09 15:39:55 -03:00
parent f3ab2eedc6
commit 0b48e8c410
2 changed files with 12 additions and 10 deletions

View File

@@ -13,11 +13,6 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Create Backend .env file
run: |
echo "Creating backend .env file..."
@@ -54,6 +49,10 @@ jobs:
echo "Building frontend application..."
npm run build
- name: Sync Files to Production Directory
run: |
rsync -a --delete --exclude 'frontend/.next/cache/' --exclude '.git/' ./ /var/www/website.joaoloureiro.dev.br/
- name: Restart Applications with PM2
run: |
echo "Restarting applications with PM2..."