-
Notifications
You must be signed in to change notification settings - Fork 32
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
Web-deploy keeps deleting manually created files and folders #15
Comments
Looks like the See https://man7.org/linux/man-pages/man1/rsync.1.html ( Search: "--delete-after") Update: |
Thanks @AryaSvitkona.
Did you include the |
Yes, exactly. See an example below which works for us. `jobs:
|
Bug Description
Whenever I run the web-deploy action in my server, all files and folders that does not exist in the git repo are automatically deleted from the server.
For example, I have a file
.env
and this file is not included in the github repo, but whenever I run the deploy script, it is automatically deleted from the server. Same goes for folders which are created manually in the server.My Action Config
What could be the problem?
The text was updated successfully, but these errors were encountered: