diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 2bf413a3..29fba539 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -113,12 +113,27 @@ jobs: path: doc/_build/html retention-days: 7 - - name: Deploy + doc-deploy: + name: Documentation deploy + runs-on: ubuntu-latest + needs: [doc-build] + + steps: + + - name: Checkout + uses: actions/checkout@v3 + + - name: Download Artifacts + uses: actions/download-artifact@v1 + with: + name: documentation-html + + - name: Deploy to GitHub Pages if: contains(github.ref, 'refs/heads/main') - uses: JamesIves/github-pages-deploy-action@v4.4.1 + uses: JamesIves/github-pages-deploy-action@v4 with: token: ${{ secrets.GITHUB_TOKEN }} branch: gh-pages - folder: doc/_build/html + folder: documentation-html/ clean: true single-commit: true