diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b3ed0895dac..f1a37910c65 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,7 +16,7 @@ jobs: - run: mdbook build guide - name: Deploy - if: github.ref == 'refs/heads/docs_test' || startsWith(github.ref, 'refs/tags/v') + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') uses: peaceiris/actions-gh-pages@v3.7.3 with: personal_token: ${{ secrets.GITHUB_TOKEN }} @@ -45,7 +45,7 @@ jobs: RUSTDOCFLAGS: --cfg docsrs - name: Deploy - if: github.ref == 'refs/heads/docs_test' || startsWith(github.ref, 'refs/tags/v') + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') uses: peaceiris/actions-gh-pages@v3.7.3 with: personal_token: ${{ secrets.GITHUB_TOKEN }}