So I’ve been advised to use Valet, Bedrock and Deploybot. The snag I’ve hit is when I add my files to Gitlab everything gets uploaded apart from the WP folder. Is there a reason for this?
I’ve also used Github and the same thing happens. The contents of the Web folder on my drive is App, WP, index.php and wp-congig.php, but it’s missing the WP when I push to Git
I think I understand what you’re saying. If I’m interpreting correctly, you’re concerned that the
wp directory doesn’t appear in your Git repository when you browse through it. This is normal because Bedrock keeps WordPress as a dependency and only installs it when needed, on deploy. Bedrock’s
.gitignore explicitly prevents the
wp directory from being committed.
So this is normal. Are you having a problem after you deploy your site? Is
wp not appearing as part of the deploy process when Bedrock gets its dependencies?
No it still wasn’t appearing after I deployed. I removed the .gitignore and it uploaded to Gitlab fine and all files were successfully deployed to my site. I now get a,
You don’t have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
In that case we probably need to know more about your production environment. Where are you hosting this?