CI: pub documentation

This commit is contained in:
Aravinth Manivannan 2021-03-06 09:56:32 +05:30
parent 6fbbc3f2d5
commit 0a6f79dc85
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -65,14 +65,14 @@ jobs:
file: cobertura.xml file: cobertura.xml
- name: generate documentation - name: generate documentation
if: matrix.version == 'stable' && (github.repository == 'mcaptcha/mCaptcha') if: matrix.version == 'stable' && (github.repository == 'mcaptcha/pow_sha256')
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: matrix.version == 'stable' && (github.repository == 'mcaptcha/pow_sha256')
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 }}