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

How to include one file from folder that is excluded

Open nikolailehbrink opened this issue 2 years ago • 0 comments

Hi there, tried it with the following code, but that doesn't seem to work.

- name: 📂 Sync
   uses: SamKirkland/[email protected]
   with:
     server: ...
     username: ...
     password: ${{ secrets.ftp_password }}
     server-dir: ...
     exclude: |
       **/.git*
       **/.git*/**
       **/resources/**
       **/.vscode/**
       **/node_modules/**
       !**/resources/fonts

nikolailehbrink avatar Sep 06 '22 14:09 nikolailehbrink