doc builds on stable

This commit is contained in:
Aravinth Manivannan 2021-03-11 12:34:06 +05:30
parent 3e92df14e2
commit 46f318482f
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -14,19 +14,19 @@ jobs:
- name: Install Rust - name: Install Rust
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly-x86_64-unknown-linux-gnu toolchain: stable-x86_64-unknown-linux-gnu
profile: minimal profile: minimal
override: true override: true
- name: generate documentation - name: generate documentation
if: matrix.version == 'stable' && (github.repository == 'mCaptcha/mCaptcha') if: github.repository == 'mCaptcha/mCaptcha'
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: doc command: doc
args: --no-deps --workspace --all-features args: --no-deps --workspace --all-features
- name: Deploy to GitHub Pages - 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 uses: JamesIves/github-pages-deploy-action@3.7.1
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}