Closed francois-viglob closed 3 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:
name: ๐ Rรฉcupรจre le code uses: actions/checkout@v4
name: ๐ Synchronise les fichiers(check deploy4) uses: SamKirkland/FTP-Deploy-Action@v4.3.5 with: server: ${{ secrets.FTP }} username: ${{ secrets.FTP_USERNAME }} password: ${{ secrets.FTP_PASSWORD }}
Yes! See the --exclude option in the readme https://github.com/SamKirkland/ftp-deploy
--exclude
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:
name: ๐ Rรฉcupรจre le code uses: actions/checkout@v4
name: ๐ Synchronise les fichiers(check deploy4) uses: SamKirkland/FTP-Deploy-Action@v4.3.5 with: server: ${{ secrets.FTP }} username: ${{ secrets.FTP_USERNAME }} password: ${{ secrets.FTP_PASSWORD }}