Skip to content

Merge pull request #2 from fosdickio/fix-lint-issue #2

Merge pull request #2 from fosdickio/fix-lint-issue

Merge pull request #2 from fosdickio/fix-lint-issue #2

name: Deploy Docs to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Generate Documentation
run: make docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc