Ax icon indicating copy to clipboard operation
Ax copied to clipboard

Update the `publish_site` docs to unblock website deployment

Open saitcakmak opened this issue 2 years ago • 4 comments

The existing publish_site script attempts to force-push to the gh-pages branch, which gets rejected due to gh-pages being a protected branch. This updates the script to modify the git repo in-place and use git push rather than force-push. The changes are based on the BoTorch script: https://github.com/pytorch/botorch/blob/main/scripts/publish_site.sh

Test plan: The workflow should successfully complete: https://github.com/facebook/Ax/runs/6086578017?check_suite_focus=true

saitcakmak avatar Apr 19 '22 22:04 saitcakmak

Codecov Report

Merging #921 (54990c1) into main (c26fbf4) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #921   +/-   ##
=======================================
  Coverage   94.13%   94.13%           
=======================================
  Files         397      397           
  Lines       34140    34140           
=======================================
  Hits        32139    32139           
  Misses       2001     2001           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c26fbf4...54990c1. Read the comment docs.

codecov-commenter avatar Apr 19 '22 22:04 codecov-commenter

@saitcakmak has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Apr 19 '22 23:04 facebook-github-bot

Looks like the test plan failed.

danielcohenlive avatar Apr 20 '22 14:04 danielcohenlive

@danielcohenlive Yeah, it triggered a branch projection rule despite the "build-tutorials-with-pinned-botorch" workflow that the rule requires passing in the same run. I'll update once we decide on how to get around that.

saitcakmak avatar Apr 20 '22 15:04 saitcakmak

abandoned

saitcakmak avatar Sep 14 '22 20:09 saitcakmak