fix: update error handling in Contact component and disable submit button during submission
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user