Skip to content

Actualizar aplicación web v1.0.0 #15

Actualizar aplicación web v1.0.0

Actualizar aplicación web v1.0.0 #15

Workflow file for this run

name: Node.js CI
on:
push:
branches: ["main"]
jobs:
build:
runs-on: self-hosted
strategy:
matrix:
node-version: [20.13.0]
env:
NEXT_WEBSITE_URL: ${{secrets.NEXT_WEBSITE_URL}}
NEXT_PUBLIC_RECAPTCHA_SITE_KEY: ${{ secrets.NEXT_PUBLIC_RECAPTCHA_SITE_KEY }}
RECAPTCHA_SECRET_KEY: ${{ secrets.RECAPTCHA_SECRET_KEY }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run build --if-present
- name: Change Directory
run: cd /home/gino/actions-runner/_work/averias-app/averias-app
- run: pm2 restart 0