• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Automatic Deployment deletes modified files?

Elenktik

New Pleskian
I am using Plesk Onyx, Version 17.8.11 Update #46 on Ubuntu 16.04

I have setup a git repository with deploy mode "automatic deployment" and configured the webhook with Bitbucket.

Whenever I push something to my repository, plesk does pull it from the repository automatically. However, all files on my production server that are modified (some .json language files that I need in production and development and which are editable by the users on production) are always deleted after a pull.

Is it possible to not delete modified files when doing the automatic deployment?
 
It's 2023 and i have this same exact question.

I have certain folders and files that are needed (config, image dirs that get written to etc). If i auto deploy from my git repo this data gets removed, which is useless.
 
Back
Top