Report this

What is the reason for this report?

App component keep .git directory

Posted on February 18, 2022

Hello,

I’ve currently setup an app with automatic deployment enabled from master. The deployment works excellent, however if I list the current files in the components directory I’m missing the .git directory.

Is there a way to make the automatic deployment also copy over .git directory? This so that my git-based CMS can have the correct commit history and remote set ready for committing and pushing?

(I’m trying to figure out a way to make Statamic’s automatic git integration work)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

I’ve worked around this problem by using ploi.io. Ploi.io has super easy configuration options for hosting statamic online.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.