Skip to content

Files with a space in the path will fail to upload #51

@SkyMulley

Description

@SkyMulley

File placed at /plugin/[custom] pluginfile/README.md

mput: plugin/[custom]: no files found
mput: /home/runner/work/REPO/REPO/pluginfile/README.md: No such file or directory

Action created as:

name: Deploy to Server

on:
  push:
    branches:
      - master
  workflow_dispatch:
    inputs:
      sync:
        description: "File synchronization"
        required: true
        default: "delta"

jobs:
  deploy:
    if: ${{ github.ref == 'refs/heads/master' }}
    runs-on: ubuntu-latest
    environment: Main Server
    
    steps:
    - name: Checkout code
      uses: actions/checkout@v4
      with:
          fetch-depth: 0
      
    - name: Deploy to server
      uses: milanmk/actions-file-deployer@master
      with:
        remote-protocol: 'sftp'
        remote-host: ${{ secrets.SFTP_HOST }}
        remote-port: ${{ secrets.SFTP_PORT }}
        remote-user: ${{ secrets.SFTP_USERNAME }}
        remote-password: ${{ secrets.SFTP_PASSWORD }}
        remote-path: '/server'
        local-path: './'
        sync: "delta"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions