Skip to content

Commit

Permalink
ci: use artifact to upload html
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Feb 1, 2024
1 parent c7e1888 commit 5e5c621
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: docs
path: docs/build/html
release-please:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -123,11 +124,10 @@ jobs:
needs: documentation-test #release-please
# if: ${{ needs.release-please.outputs.release_created }}
steps:
- uses: actions/checkout@v2
- run: |
cp CHANGELOG.md docs/source/getting_started/CHANGELOG.md
docker build . -t=lsdocs -f docs/Dockerfile
docker run -v $(pwd):/LoopStructural lsdocs bash LoopStructural/docs/build_docs.sh
- uses: actions/download-artifact@v3
with:
name: docs
path: docs
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
Expand Down

0 comments on commit 5e5c621

Please sign in to comment.