Skip to content

Merge pull request #111 from enflujo/correcciones-html #95

Merge pull request #111 from enflujo/correcciones-html

Merge pull request #111 from enflujo/correcciones-html #95

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
- 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/vacs/'