Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Is the entire directory for an App overwritten on each deployment from GitHub?
I have an SQLite database file that’s generated when my Node app is deployed and started, so it exists on DO but not the repo (i.e., it’s not tracked).
On subsequent deployments, will this database file persist because only repo files are written to the DO App? Or will it be erased because the entire directory is rewritten?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×