Magento 2 changes to pub/.htaccess doesn't reflect #3416
Replies: 4 comments 7 replies
-
You pushed changes to git and they are not deployed? This sounds like you have |
Beta Was this translation helpful? Give feedback.
-
But I understood the problem correct? You change something in git, you push it, you deploy the correct branch/tag and the changes are not there? |
Beta Was this translation helpful? Give feedback.
-
In the past deployer checked out the git repository, but today only the code is checked out. There was a ticket I couldn't find which discussed bringing the .git directory back and if I remember correctly a solution for it. Try running deployer with -vvv so you can check what happens and wether any task is removing/rewriting/changing .htaccess Beside that, I would check from the beginning and make sure everything is correct:
Good luck! |
Beta Was this translation helpful? Give feedback.
-
Closing due to inactivity. |
Beta Was this translation helpful? Give feedback.
-
Hi
I am using deployer for a Magento 2 website, and recently I have added some rewrite rules to the pub/.htaccess file and pushed the changes.
However, when I deploy the changes, the original file is being deployed on the server. Has anyone experienced the same issue and has it been resolved already?
Beta Was this translation helpful? Give feedback.
All reactions