Skip to content

πŸ”’οΈ Correcciones a datos de indicadores e historias #7

πŸ”’οΈ Correcciones a datos de indicadores e historias

πŸ”’οΈ Correcciones a datos de indicadores e historias #7

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: actions/checkout@v3
with:
fetch-depth: 0
- name: 🐝 Usar Node
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: πŸ¦’ Instalar dependencias y hacer build
run: |
yarn install --frozen-lockfile
yarn build-servidor
- name: πŸ¦… Enviar por SFTP
uses: wangyucode/sftp-upload-action@v2.0.2
with:
host: ${{ secrets.DOMINIO_IMAGINA }}
username: ${{ secrets.USUARIO_IMAGINA }}
password: ${{ secrets.CLAVE_IMAGINA }}
localDir: 'publico'
remoteDir: '/srv/www/wordpress/especiales/maternoinfantil/'