Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

64
Vistas
Create a Github.yaml actions workflow deployment file and get an error

I'm trying to create my first Github Actions workflow and am getting an error that online research isn't helping me resolve. This is a pretty basic workflow at this point for a WordPress site. It is failing on the line "fetch-depth: 0". I've been checking the indentation and looking at examples online.

 name: deploy
on:
 push:
 branches:
 # Pushing to the `master` branch
 # will trigger our workflow
 - master
 paths-ignore:
 # Ignore files and folders
 - 'bin/**'
 - 'readme.html'
concurrency:
 #maximum of one deployment in progress and one deployment pending at a time
 group: ${{ github.workflow }}-${{ github.ref }}
 cancel-in-progress: true
permissions:
 actions: write
 contents: read
jobs:
 deploy:
 runs-on: ubuntu-latest
 steps:
 - name: Checkout
 # Checkout our repository under `${GITHUB_WORKSPACE}`,
 # so our workflow can access it
 uses: actions/checkout@v3
 with:
 # Fetch the entire Git history. 
 fetch-depth: 0

 - name: Deploy via SFTP
 #Deploy via FTP details
 uses: actions/checkout@v3
 with:
 host: ${{ secrets.MW_FTP_SERVER }}
 port: ${{ secrets.MW_FTP_PORT }}
 user: ${{ secrets.MW_FTP_USER }}
 pass: ${{ secrets.MW_FTP_PASS }}
 remoteDir: '/httpdocs'
 options: '--verbose'
over 2 years ago · Carlos Garzón Colorado
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda