diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2ca5beeabbf9..2fb8660c0fcb 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -631,6 +631,8 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: website/build publish_branch: gh-pages + # This allows us to make our publish branch with only the latest commit. + force_orphan: true - name: Clear build run: rm -rf ./website/build