Revert "[dependabot] monitor all packages" #218
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: Docs | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
docs: | |
name: Build documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Deps | |
run: | | |
sudo apt update | |
sudo apt install -yy libseccomp-dev build-essential | |
- uses: dtolnay/rust-toolchain@stable | |
- name: cargo doc | |
run: cargo doc --color=always --no-deps --all | |
- name: Make index.html | |
run: | | |
echo '<meta http-equiv="Refresh" content="0; url=./task_maker/index.html">' > target/doc/index.html | |
- name: Publish | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: target/doc |