Skip to content

🐛 problema 404

🐛 problema 404 #122

Workflow file for this run

name: Despliegue
on:
push:
branches: [main]
jobs:
build:
name: 🐘 Desplegar
runs-on: ubuntu-latest
steps:
- name: 🐯 Obtener código del repositorio
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.DOMINIO }}
username: ${{ secrets.USUARIO }}
key: ${{ secrets.LLAVE_SSH }}
script: |
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
cd ${{ secrets.RUTA }}
git pull origin main
yarn install --frozen-lockfile
yarn server:stop
yarn build
yarn server:restart