Skip to content

create route to validate user account #75

create route to validate user account

create route to validate user account #75

Workflow file for this run

name: Node.js + pm2 CI
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Razón'
required: true
default: 'warning'
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-22.04
environment: production
steps:
- name: Node.js + pm2 ${{ matrix.node-version }}
uses: appleboy/[email protected]
with:
# Private Key
key: ${{ secrets.SSH_KEY }}
# Remote host
host: ${{ secrets.SSH_HOST }}
# Remote user
username: ${{ secrets.SSH_USERNAME }}
script: |
cd approbado-server
git pull
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
pnpm i
pnpm run build
pm2 restart all