Skip to content

Commit

Permalink
fix the download and deploy part of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
psobolewskiPhD authored Mar 27, 2024
1 parent a77d2eb commit 5fcfe53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5fcfe53

Please sign in to comment.