A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Split build vs deploy docs
shamoon5ecbfc9df7b8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex e6133475d..6842ac0f3 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -79,13 +79,10 @@ jobs:- name: Check filesuses: pre-commit/[email protected]documentation:- name: "Build & Deploy Documentation"+ name: "Build Documentation"runs-on: ubuntu-24.04needs:- pre-commit- environment:- name: github-pages- url: ${{ steps.deployment.outputs.page_url }}steps:- uses: actions/configure-pages@v5- name: Checkout@@ -111,12 +108,26 @@ jobs:--dev \--frozen \zensical build --clean+ - name: Upload documentation artifact+ uses: actions/upload-artifact@v5+ with:+ name: documentation+ path: site/- uses: actions/upload-pages-artifact@v4with:path: sitename: github-pages-${{ github.run_id }}-${{ github.run_attempt }}+ deploy-documentation:+ name: "Deploy Documentation"+ runs-on: ubuntu-24.04+ needs:+ - documentation+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'+ environment:+ name: github-pages+ url: ${{ steps.deployment.outputs.page_url }}+ steps:- uses: actions/deploy-pages@v4- if: github.event_name == 'push' && github.ref == 'refs/heads/main'id: deploymentwith:artifact_name: github-pages-${{ github.run_id }}-${{ github.run_attempt }}