diff --git a/.github/workflows/develop-CD.yml b/.github/workflows/develop-CD.yml index 1ae48cb..fcd361b 100644 --- a/.github/workflows/develop-CD.yml +++ b/.github/workflows/develop-CD.yml @@ -25,7 +25,6 @@ jobs: - name: Install and format (No build in develop) run: | npm ci - npm run format # 👉 Build la imagen Docker - name: Build Docker image @@ -55,5 +54,5 @@ jobs: script: | cd /home/proyectosdanils/ docker compose down - docker pull ${{ secrets.DOCKER_USERNAME }}/frontend-dev:develop - docker compose up -d \ No newline at end of file + docker pull ${{ secrets.DOCKER_USERNAME }}/frontend-dev:stage + docker compose up -d diff --git a/.github/workflows/master-CD.yml b/.github/workflows/master-CD.yml index 49babc2..017c79b 100644 --- a/.github/workflows/master-CD.yml +++ b/.github/workflows/master-CD.yml @@ -10,7 +10,7 @@ on: jobs: deploy: - if: github.event.pull_request.merged == true # Solo si se hizo merge + if: github.event.pull_request.merged == true # Solo si se hizo merge name: 🚀 PRODUCTION Deploy Next.js to GCP runs-on: ubuntu-latest @@ -38,7 +38,6 @@ jobs: mkdir -p ~/.ssh ssh-keyscan ${{ secrets.GCP_VM_IP }} >> ~/.ssh/known_hosts - # 4. Detener PM2 antes de la subida - name: Stop PM2 before upload uses: appleboy/ssh-action@v0.1.4 @@ -58,13 +57,13 @@ jobs: host: ${{ secrets.GCP_VM_IP }} username: ${{ secrets.GCP_VM_USER }} key: ${{ secrets.GCP_SSH_KEY }} - source: "prod-dist" - target: "/home/proyectosdanils/frontend-prod" + source: 'prod-dist' + target: '/home/proyectosdanils/frontend-prod' port: 22 timeout: 30s rm: true - # 6. Reiniciar PM2 en la VM + # 6. Reiniciar PM2 en la VM - name: Restart PM2 uses: appleboy/ssh-action@master with: diff --git a/app/(protected)/dashboard/room/_components/Message.tsx b/app/(protected)/dashboard/room/_components/Message.tsx index 3dac984..664211d 100644 --- a/app/(protected)/dashboard/room/_components/Message.tsx +++ b/app/(protected)/dashboard/room/_components/Message.tsx @@ -43,4 +43,3 @@ export default function Message({ message }: Props) { ); } - diff --git a/app/(protected)/dashboard/room/_components/MessageInput.tsx b/app/(protected)/dashboard/room/_components/MessageInput.tsx index f1d5108..287f9ef 100644 --- a/app/(protected)/dashboard/room/_components/MessageInput.tsx +++ b/app/(protected)/dashboard/room/_components/MessageInput.tsx @@ -59,7 +59,7 @@ export default function MessageInput({ onSend, bottomRef }: Props) { onChange={e => setMessage(e.target.value)} onKeyDown={onKeyDown} rows={1} - placeholder='Escribe un mensaje' + placeholder="Escribe un mensaje" />