FTP-Deploy-Action icon indicating copy to clipboard operation
FTP-Deploy-Action copied to clipboard

Files not deleting at the FTP

Open hmdshfq opened this issue 3 years ago • 1 comments

Files not deleting at the FTP When I delete a file on the GitHub repository it doesn't get deleted at the ftp server.

My Action Config

name: 🚀 Deploy website on push

on: 
  push:
    branches: [main]
  
  workflow_dispatch:

jobs:
  web-deploy:
    name: 🎉 Deploy
    runs-on: ubuntu-latest
    steps:
    - name: 🚚 Get latest code
      uses: actions/[email protected]
    
    - name: 📂 Sync files
      uses: SamKirkland/[email protected]
      with:
        server: ftp.****
        username: ****
        password: ${{ secrets.FTP_PASSWORD }}
        server-dir: /wp-content/themes/my-theme/
        exclude: .git*
          - .git*/**
          -  **/.git*/**
          - node_modules/**
          - node_modules/**/*
          - .vscode/**

hmdshfq avatar Jan 27 '21 17:01 hmdshfq

See https://github.com/SamKirkland/FTP-Deploy-Action/issues/145

Luehrsen avatar Feb 09 '21 13:02 Luehrsen