From 5fcfe5315c45584bf6d50fe2ee1f4352a5f5e3b0 Mon Sep 17 00:00:00 2001 From: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> Date: Wed, 27 Mar 2024 16:47:08 -0400 Subject: [PATCH] fix the download and deploy part of workflow --- .github/workflows/build_and_deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index d1717d969..cf6ad1be6 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -80,18 +80,18 @@ jobs: uses: actions/upload-artifact@v4 with: name: docs - path: docs/docs/_build/html + path: docs/docs/_build/html/ deploy: if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/main')) - name: Build & Upload Artifact + name: Download & Deploy Artifact + needs: build-and-upload runs-on: ubuntu-latest steps: - name: Download artifact uses: actions/download-artifact@v4 with: name: docs - path: docs - name: get directory name # if this is a tag, use the tag name as the directory name else dev