This commit is contained in:
realaravinth 2021-06-09 19:49:10 +05:30
parent 5737fca771
commit ed226a969c
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -19,7 +19,7 @@ jobs:
override: true override: true
- name: generate documentation - name: generate documentation
if: matrix.version == 'stable' && (github.repository == 'mcaptcha/cache') if: github.repository == 'mcaptcha/cache'
run: make doc run: make doc
# - name: generate documentation # - name: generate documentation
@ -30,24 +30,9 @@ jobs:
# 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/cache') if: github.repository == 'mcaptcha/cache'
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 }}
BRANCH: gh-pages BRANCH: gh-pages
FOLDER: target/doc 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