diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c908bd5..165517a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -4,6 +4,7 @@ on: push: branches: - main + pull_request: workflow_dispatch: jobs: @@ -22,7 +23,7 @@ jobs: - uses: rust3ds/test-runner/setup@v1 with: - toolchain: nightly + toolchain: nightly-2023-06-01 - name: Build workspace docs run: cargo 3ds --verbose doc --verbose --no-deps --workspace @@ -47,6 +48,7 @@ jobs: deploy: runs-on: ubuntu-latest needs: build + if: github.ref_name == 'main' permissions: pages: write id-token: write