From dfb5598c45895038326f8bb0930e994e08dfee74 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Fri, 26 Jan 2024 13:31:17 -0700 Subject: temporarily build docs on PRs, but don't deploy --- .github/workflows/docs.yaml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 6ebc590e46..c97a408105 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -9,6 +9,7 @@ on: - 'release-v*' # stable docs - master + pull_request: workflow_dispatch: @@ -79,12 +80,12 @@ jobs: cp book/welcome_and_overview.html book/index.html # Deploy to the target directory. - - name: Deploy to gh pages - uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./book - destination_dir: ./${{ needs.pre.outputs.branch-version }} +# - name: Deploy to gh pages +# uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3 +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} +# publish_dir: ./book +# destination_dir: ./${{ needs.pre.outputs.branch-version }} ################################################################################ pages-devdocs: @@ -109,9 +110,9 @@ jobs: poetry run make html # Deploy to the target directory. - - name: Deploy to gh pages - uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dev-docs/_build/html - destination_dir: ./dev-docs/${{ needs.pre.outputs.branch-version }} +# - name: Deploy to gh pages +# uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3 +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} +# publish_dir: ./dev-docs/_build/html +# destination_dir: ./dev-docs/${{ needs.pre.outputs.branch-version }} -- cgit 1.5.1