Okay I’ve figured where to find the file through ssh.
For future reference when you first log in, you need to cd ../ to the root dir. Then look in srv/www which should contain a folder with your website’s name. Change dir into you site’s folder.
I’m not sure here, but I think the folder named “current” should have all the files that are live.
There’s also a releases directory. Which in my case has quite a few folders in it because I’ve tried to deploy a lot.
None this really helps much, because the files in my current folder still are not what I have in my repo.
I’m starting to feel like I’m talking to myself here guys… any help would be great.
Do other changes to the site deploy successfully? If you add a plug-in with composer, commit, push, and deploy, do you see that plugin on the production site?
Is it just theme changes that aren’t working?
Check WordPress’s appearance/themes and confirm there aren’t two entries for your theme there. If there are, try activating the other one.
I’ve just figured it out, I was trying to deploy with ansible-playbook server.yml -e env=production
But what I should have been doing is ./bin/deploy.sh production website.com
Sorry for my ignorance, I’m just a front end who want’s to be a full stack. Slowly but surly.
Thanks for trying to help tho.