Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude files or folder directory? #29

Open
dstojchevski opened this issue Jan 21, 2022 · 4 comments
Open

Exclude files or folder directory? #29

dstojchevski opened this issue Jan 21, 2022 · 4 comments

Comments

@dstojchevski
Copy link

Is is possible to exclude any files or folders when executing the script?

@dstojchevski dstojchevski changed the title Exclide files or folder directory? Exclude files or folder directory? Jan 21, 2022
@flavio89
Copy link

I'm also having the same problem.
Removing a local file does not remove it on the remote.

@edward795
Copy link

Ya a much needed feature to exclude files/folders..??

@VictorioBerra
Copy link

I would like this too.

In the meantime, I use the following:

...

      - uses: actions/checkout@master

      - name: Copy to staging directory for deployment
        run: |
          mkdir deploy
          rsync -av --progress . deploy --exclude .git --exclude deploy --exclude .gitignore --exclude .github

      - name: 'Remote: deploy'
        uses: wlixcc/SFTP-Deploy-Action@v1.2.3
        with:
          username: ${{ secrets.USERNAME }}
          server: ${{ secrets.HOST }}
          ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} 
          local_path: './deploy'
          remote_path: '/home/myuser/myapp'

@zvassos
Copy link

zvassos commented Mar 9, 2023

Still nothing? How do you guys manage this thing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants