Skip to content

how to prevent action from deleting files? #500

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

Open
woeterman94 opened this issue Mar 13, 2025 · 1 comment
Open

how to prevent action from deleting files? #500

woeterman94 opened this issue Mar 13, 2025 · 1 comment

Comments

@woeterman94
Copy link

is there a way i can prevent the action from deleting files already present on the server but not in the git repo?

@Morgulisan
Copy link

Morgulisan commented Apr 24, 2025

As far as I understand this, this is not a feature yet. I was looking for it my self.

If you know the file type or folder and you dont use it in your repo (such as .temp or generated images) you can use the exclude statement for that file type or folder.

`
exclude: |

      **/.git*

      **/.git*/**

      **/.idea/**

      **/img/**

      *.zip

      *.tmp

`

+1 to the feature request

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

2 participants