SamKirkland / ftp-deploy

Deploy websites over FTP with one command line
MIT License
89 stars 43 forks source link

Deploy only Modfied files (part of the PR) #40

Closed francois-viglob closed 3 months ago

francois-viglob commented 4 months ago

Is there a way to deploy only modified file that are part of the PR (of my PR contains 5 files, I want only these 4 files to be uploaded to the server).

Thanks for your help!


This yaml download everything, even if the pr contains only 4 files.

-->

name: ๐Ÿš€ Deployer sur site FTP 'francois'

on: pull_request: branches:

jobs: web-deploy: name: ๐ŸŽ‰ Deploy runs-on: ubuntu-latest steps:

SamKirkland commented 3 months ago

Yes! See the --exclude option in the readme https://github.com/SamKirkland/ftp-deploy