Try again to give hash in doc push scripts (#47922)
Summary:
This is a second attempt at https://github.com/pytorch/pytorch/commit/8304c25c67ec19ba4e857ce3462e213835409078, since the first attempt did not work as shown by https://github.com/pytorch/cppdocs/commit/b05f3571fe583a72adf1c1ddb4a07b22e94e621b and https://github.com/pytorch/pytorch.github.io/commit/c59015f21dbe73808023ae86ca4f5669e04fb74e. This time the idea is to directly embed the commit hash itself into the generated command that is fed to `docker exec`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/47922
Reviewed By: zou3519
Differential Revision: D24953734
Pulled By: samestep
fbshipit-source-id: 35b14d1266ef039e8c1bdf3648275af812a2e57b