diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index bfc2b7c4..49925e3f 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -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 @@ -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/github-pages-deploy-action@4.1.3 with: