mirror of
https://github.com/mCaptcha/cache.git
synced 2024-11-24 01:15:31 +03:00
docs
This commit is contained in:
parent
5737fca771
commit
ed226a969c
1 changed files with 2 additions and 17 deletions
19
.github/workflows/upload-doc.yml
vendored
19
.github/workflows/upload-doc.yml
vendored
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue