diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4a0265320f0..e495e87eaad 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,7 +2,7 @@ name: Deploy documentation on: push: - branches: [florianduros/fix/ci-docs] + branches: [develop] workflow_dispatch: {} permissions: @@ -98,18 +98,18 @@ jobs: - name: Build docs run: mdbook build -# - name: Upload artifact -# uses: actions/upload-pages-artifact@v3 -# with: -# path: ./book - -# deploy: -# environment: -# name: github-pages -# url: ${{ steps.deployment.outputs.page_url }} -# runs-on: ubuntu-latest -# needs: build -# steps: -# - name: Deploy to GitHub Pages -# id: deployment -# uses: actions/deploy-pages@v4 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: ./book + + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4