diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e392a65d..3b46d615 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,7 +28,7 @@ jobs: run: ./gradlew --no-daemon clean mkdocsBuild javadoc - name: Upload artifact uses: actions/upload-pages-artifact@0252fc4ba7626f0298f0cf00902a25c6afc77fa8 -# if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/main' }} with: path: build/docs @@ -42,7 +42,7 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-22.04 -# if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' steps: - name: Deploy to GitHub Pages id: deployment