diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 9a22b67..03bf6b6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -38,3 +38,31 @@ jobs: - run: npm ci - run: npm run build --if-present - run: npm test + + deploy: + needs: build + runs-on: Tonis-Mac-mini + if: github.ref == 'refs/heads/main' && github.event_name == 'push' + + steps: + - name: PM2 Deployment + # You may pin to the exact commit or the version. + # uses: victorargento/pm2-deployment@9f1857537a23be1e6eb173bc5394a49c6e3e3e1a + uses: victorargento/pm2-deployment@0.1 + with: + # + build: true # optional, default is false + # Remote host + host: 192.168.1.102 + # Username to login + username: root + # SSH port + port: 22 + # SSH password + # Removed direct password input for security, using environment variable instead + with: + DEPLOY_PASSWORD: ${{ secrets.DEPLOY_PASSWORD }} + # Remote path where the files are going to be copied + remote-path: /home/zouklambadabcn.com/public_html + # PM2 ID or Name of the process + pm2-id: ZLB diff --git a/src/components/StaffSection.tsx b/src/components/StaffSection.tsx index 29acc34..caa8929 100644 --- a/src/components/StaffSection.tsx +++ b/src/components/StaffSection.tsx @@ -84,12 +84,12 @@ const StaffSection = () => { className="snap-start shrink-0 w-4/5 sm:w-1/2 lg:w-1/3 xl:w-1/4 bg-card rounded-2xl overflow-hidden shadow-card hover:shadow-elevated transition-shadow group" > {/* Foto */} -