This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
- develop | |
name: Despliegue del Front in Somee.com | |
jobs: | |
web-deploy: | |
name: Desplegar a Somee.com | |
runs-on: ubuntu-latest | |
steps: | |
- name: 1. Obtener la ultima compilación del repositorio | |
uses: actions/checkout@v3 | |
- name : 2. Ejecutar scritp de compilado | |
run: chmod +x ./Config/deploy.sh && ./Config/deploy.sh | |
- name: 5. Subir Archivos | |
uses: SamKirkland/FTP-Deploy-Action@v4.3.4 | |
with: | |
server: cbl.somee.com | |
username: cbl | |
password: ${{ secrets.FTP_PASSWORD }} | |
protocol: ftp | |
local-dir: publish/ | |
server-dir: /www.cbl.somee.com/ | |