Releasing v0.4.0 #27
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] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install x11 dependencies for Kludgine | |
run: | | |
sudo apt-get update -y -qq | |
sudo add-apt-repository ppa:oibaf/graphics-drivers -y | |
sudo apt-get update | |
sudo apt-get install -y \ | |
libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Generate Docs | |
run: | | |
cargo doc --no-deps --all-features | |
- name: Deploy Docs | |
uses: JamesIves/github-pages-deploy-action@releases/v4 | |
with: | |
branch: gh-pages | |
folder: target/doc/ | |
git-config-name: kl-botsu | |
git-config-email: [email protected] | |
target-folder: /main/ | |
clean: true |