Create SECURITY.md #386
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 | |
permissions: | |
contents: write | |
env: | |
CARGO_TERM_COLOR: always | |
DATABASE_URL: "sqlite://./dim_dev.db" | |
jobs: | |
build: | |
name: Build docs | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y libva-dev libva-drm2 libva2 sqlite3 | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: cargo | |
- name: Build Docs | |
uses: actions-rs/cargo@v1 | |
with: | |
command: doc | |
args: --verbose --workspace --release --no-deps | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: docs | |
folder: target/doc | |
target-folder: ${{ github.ref_name }} |