Update dependencies (#58) #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Document | |
on: | |
push: | |
branches: | |
- master | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
default: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Version information | |
run: rustc --version; cargo --version | |
- name: Install tesseract | |
run: sudo apt-get install libleptonica-dev libtesseract-dev clang tesseract-ocr-eng | |
- uses: actions/checkout@v2 | |
- name: Generate docs | |
run: cargo doc | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: target/doc # The folder the action should deploy. |