File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 RDME_API_KEY : ${{ secrets.README_API_KEY }}
3737 run : |
3838 python ./.github/utils/promote_unstable_docs.py --version ${{ steps.version.outputs.version }}
39+
40+ - name : Promote unstable docs for Docusaurus
41+ run : |
42+ git checkout main
43+ python ./.github/utils/promote_unstable_docs_docusaurus.py --version ${{ steps.version.outputs.version }}
44+
45+ - name : Create Pull Request with Docusaurus docs updates
46+ uses : peter-evans/create-pull-request@v7
47+ with :
48+ token : ${{ secrets.HAYSTACK_BOT_TOKEN }}
49+ commit-message : " Promote unstable docs for Haystack ${{ steps.version.outputs.version }}"
50+ branch : promote-unstable-docs-${{ steps.version.outputs.version }}
51+ base : main
52+ title : " docs: promote unstable docs for Haystack ${{ steps.version.outputs.version }}"
53+ add-paths : |
54+ docs-website
55+ body : |
56+ This PR promotes the unstable docs for Haystack ${{ steps.version.outputs.version }} to stable.
57+ It is expected to run at the time of the release.
58+ You can inspect the docs preview and merge it. There should now be only one unstable version representing the next (main) branch.
You can’t perform that action at this time.
0 commit comments