Skip to content

Commit

Permalink
[GHA] Creating a new version only tracks relevant files to git
Browse files Browse the repository at this point in the history
Fixes an issue where unrelated files could gettinget added to the `docusaurus-versions` branch. This broke GHA in the Ax repo since this was adding the results of running tutorials. Botorch doesn't run tutorials in CI but we still fix this to avoid other possible issues down the road.
  • Loading branch information
CristianLara committed Feb 4, 2025
1 parent 3faf489 commit 8ce8562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
yarn
yarn docusaurus docs:version ${{ inputs.new_version }}
git add --all
git add versioned_docs/ versioned_sidebars/ versions.json
git commit -m "Create version ${{ inputs.new_version }} of site in Docusaurus"
git push --force origin HEAD:docusaurus-versions
- name: Build website
Expand Down

0 comments on commit 8ce8562

Please sign in to comment.