From ed226a969c7af75cf990fe599ba32d9a1dc349dc Mon Sep 17 00:00:00 2001 From: realaravinth Date: Wed, 9 Jun 2021 19:49:10 +0530 Subject: [PATCH] docs --- .github/workflows/upload-doc.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/upload-doc.yml b/.github/workflows/upload-doc.yml index 29d58d7..ecd29fb 100644 --- a/.github/workflows/upload-doc.yml +++ b/.github/workflows/upload-doc.yml @@ -19,7 +19,7 @@ jobs: override: true - name: generate documentation - if: matrix.version == 'stable' && (github.repository == 'mcaptcha/cache') + if: github.repository == 'mcaptcha/cache' run: make doc # - name: generate documentation @@ -30,24 +30,9 @@ jobs: # args: --no-deps --workspace --all-features - name: Deploy to GitHub Pages - if: matrix.version == 'stable' && (github.repository == 'mcaptcha/cache') + if: github.repository == 'mcaptcha/cache' uses: JamesIves/github-pages-deploy-action@3.7.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages FOLDER: target/doc - - # - name: generate documentation - # if: github.repository == 'mCaptcha/libmcaptcha' - # uses: actions-rs/cargo@v1 - # with: - # command: doc - # args: --no-deps --workspace --all-features - # - # - name: Deploy to GitHub Pages - # if: github.repository == 'mCaptcha/libmcaptcha' - # uses: JamesIves/github-pages-deploy-action@3.7.1 - # with: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # BRANCH: gh-pages - # FOLDER: target/doc