From 46f318482f51a6eb65164d25ba3a3bc8a3f19044 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Thu, 11 Mar 2021 12:34:06 +0530 Subject: [PATCH] doc builds on stable --- .github/workflows/upload-doc.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upload-doc.yml b/.github/workflows/upload-doc.yml index 2f31065..4166a5f 100644 --- a/.github/workflows/upload-doc.yml +++ b/.github/workflows/upload-doc.yml @@ -14,19 +14,19 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: nightly-x86_64-unknown-linux-gnu + toolchain: stable-x86_64-unknown-linux-gnu profile: minimal override: true - name: generate documentation - if: matrix.version == 'stable' && (github.repository == 'mCaptcha/mCaptcha') + if: github.repository == 'mCaptcha/mCaptcha' uses: actions-rs/cargo@v1 with: command: doc args: --no-deps --workspace --all-features - name: Deploy to GitHub Pages - if: matrix.version == 'stable' && (github.repository == 'mCaptcha/mCaptcha') + if: github.repository == 'mCaptcha/mCaptcha' uses: JamesIves/github-pages-deploy-action@3.7.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}