Sometimes when I deploy with Envoyer the latest changes does not show up! No matter how many times i deploy or if I push small changes, an older version of the site is still being displayed.
However I've found that restarting nginx via Forge solves that problem.
Has anyone experienced this? Or have an idea of why this is happening? Is there a way to fix this so I don't have to restart nginx after every deploy?
There is a problem with you deploy config probably because I haven't had one problem using Envoyer for a few years. I have 8 servers setup with it and Forge. Did you alter the nginx conf after you created the Forge server? If so, there may be an issue there.
The way Envoyer works is the site is displayed from the current directory instead of the public directory when Forge provisions the server. Envoyer takes the new deploy and moves it to the current directory. I also run some artisan commands like php artisan optimize etc.
Assume you sorted this out. I came across this thread when I had the same problem. My resolution was to update the php version of my server in Envoyer. I'd updated it in Forge to 8.1 but Envoyer was restarting version 8.