new version #14
Workflow file for this run
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
name: GitHub CentroAMAI deploy | |
on: | |
# Activa el workflow cada vez que hay un push a la rama `main` | |
# ¿Estás usando un nombre diferente de rama? Reemplaza `main` con el nombre de tu rama | |
push: | |
tags: | |
- "v*.*.*" | |
# Te permite ejecutar este workflow manualmente desde la pestaña Actions en GitHub. | |
workflow_dispatch: | |
# Permite clonar el repositorio y desplegar el proyecto | |
permissions: | |
contents: read | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout your repository using git | |
uses: actions/checkout@v3 | |
- name: Deploy to FTP server | |
uses: figonzal1/astro-ftp-deploy@main | |
with: | |
server: ${{ secrets.SFTP_SERVER }} | |
username: ${{ secrets.SFTP_USERNAME }} | |
password: ${{ secrets.SFTP_PASSWORD }} | |
port: ${{ secrets.SFTP_PORT }} | |
node-version: 20 | |
directory: ./ |