From 78168423748cf308900fe22b6f43b9ce146b7d1c Mon Sep 17 00:00:00 2001 From: Ahmad CHAMMA <52955073+achamma723@users.noreply.github.com> Date: Tue, 9 Jul 2024 00:31:27 +0200 Subject: [PATCH] Update build_docs.yml --- .github/workflows/build_docs.yml | 50 ++++++++++++++++---------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index cc58164..afb9c3d 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -17,36 +17,36 @@ permissions: contents: write jobs: - build_docs: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - - name: Install dependencies - run: | - pip install -r doc/doc-requirements.txt - pip install -e . - - name: Sphinx build - id: build-docs - run: | - sphinx-build -b html doc doc/_build/html - - name: Upload documentation - if: steps.build-docs.outcome == 'success' - uses: actions/upload-artifact@v4 - with: - name: DocHTML - path: doc/_build/html + # build_docs: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: actions/setup-python@v5 + # - name: Install dependencies + # run: | + # pip install -r doc/doc-requirements.txt + # pip install -e . + # - name: Sphinx build + # id: build-docs + # run: | + # sphinx-build -b html doc doc/_build/html + # - name: Upload documentation + # if: steps.build-docs.outcome == 'success' + # uses: actions/upload-artifact@v4 + # with: + # name: DocHTML + # path: doc/_build/html deploy_on_main: runs-on: ubuntu-latest - needs: [build_docs] + # needs: [build_docs] if: ${{ contains(fromJSON('["push", "workflow_dispatch", "schedule"]'), github.event_name)}} steps: - - name: Download artifacts - uses: actions/download-artifact@v4 - with: - name: DocHTML - path: ~/doc/_build/html + # - name: Download artifacts + # uses: actions/download-artifact@v4 + # with: + # name: DocHTML + # path: ~/doc/_build/html - name: Commit to main run: | git clone --depth 1 https://github.com/${{ github.repository_owner }}/hidimstat.git