Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
Uses the keep_files flag to ensure that the main merge does not clobber the previews
elijahbenizzy9a978aea58e1
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex 14fbc070..b6777edd 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -39,21 +39,21 @@ jobs:number: ${{ github.event.number }}id: deploy-previewmessage: "Starting deployment of preview ⏳..."- - name: Deploy to GitHub Pages+ - name: Build PR preview websiteuses: peaceiris/actions-gh-pages@v3- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}+ if: github.ref != 'refs/heads/main'with:- publish_branch: gh-pagesgithub_token: ${{ secrets.GITHUB_TOKEN }}publish_dir: _build/- # force_orphan: true # TODO -- determine whether this is the right approach- - name: Build PR preview website+ destination_dir: ${{ env.PR_PATH }} # TODO you need to set this if you're using a custom domain. Otherwise you can remove it.+ - name: Deploy to GitHub Pagesuses: peaceiris/actions-gh-pages@v3- if: github.ref != 'refs/heads/main'+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}with:+ publish_branch: gh-pagesgithub_token: ${{ secrets.GITHUB_TOKEN }}publish_dir: _build/- destination_dir: ${{ env.PR_PATH }} # TODO you need to set this if you're using a custom domain. Otherwise you can remove it.+ keep_files: true # Add this line to keep existing files in the gh-pages branch- name: Update commentuses: hasura/[email protected]if: github.ref != 'refs/heads/main'