FTP-Deploy-Action
FTP-Deploy-Action copied to clipboard
Files not deleting at the FTP
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/**
See https://github.com/SamKirkland/FTP-Deploy-Action/issues/145