The preview of my web site looks fine but it is not getting pushed to production, even though it says:
Production: master@HEAD Published.
An old version is being displayed.
I don’t think the publish lock is on.
Any help would be appreciated. Is something getting cached?
I am passing in environment variables that determines the URL and if the Git Edit button should be displayed or not.
I have tried the Clear cache and deploy site option.
Here is my build command:
sed -i s/URL_PLACEHOLDER_TEXT/${MY_URL}/g _config.yml && sed -i s/GIT_EDIT_PLACEHOLDER_TEXT/${GIT_EDIT}/g _config.yml && cat _config.yml && bundle exec jekyll build
Here is my Publish directory: /_site
When I click Preview, it looks like the correct version.
https://5de59f162f96d49a83bb818f--laceworkdocs.netlify.com/?_ga=2.87579857.857295592.1575224451-1966538113.1573837564
It does not have the Edit Git button.
However, the production one is old:
Here is my netlify instance: laceworkdocs.netlify.com