diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b07057a..809d982 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,9 +21,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.8' - - run: | - sudo apt-get update - sudo apt-get install -y python3-poetry + - uses: abatilo/actions-poetry@v2 - name: Setup Pages id: pages uses: actions/configure-pages@v5 @@ -35,9 +33,10 @@ jobs: uses: actions/jekyll-build-pages@v1 with: source: ./docs - destination: ./build/docs + destination: ./build/_jekyll - name: Build documentation - run: "sudo -E ./bin/task build_docs -- -c lunr_search=\"{'fuzziness': 1, 'index_docstrings': True}\"" + run: "./bin/task build_docs -- -c lunr_search=\"{'fuzziness': 1, 'index_docstrings': True}\"" + - run: cp -r build/_jekyll/* build/docs/ - name: Upload static files as artifact uses: actions/upload-pages-artifact@v3 with: