A programming framework for agentic AI
generate docs on push, deploy on main
Jack Gerrits88e1ee2a3b56
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex e2f97269d..700b03646 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -4,7 +4,9 @@ name: Docson:# Runs on pushes targeting the default branchpush:- branches: ["main"]+ branches:+ - main+ - staging# Allows you to run this workflow manually from the Actions tabworkflow_dispatch:@@ -115,6 +117,7 @@ jobs:url: ${{ steps.deployment.outputs.page_url }}runs-on: ubuntu-latestneeds: [build-02, build-04]+ if: ${{ needs.build-02.result == 'success' && needs.build-04.result == 'success' && github.ref == 'refs/heads/main' }}steps:- uses: actions/download-artifact@v4with: