Skip to content

setup minesweeper mode #12

setup minesweeper mode

setup minesweeper mode #12

name: build & deploy rustdoc
on:
push:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: sudo apt-get update && sudo apt-get install --no-install-recommends pkg-config libx11-dev libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build rustdoc
run: cargo doc
- name: Deploy rustdoc to Github pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.RUSTDOC_DEPLOY_KEY }}
external_repository: IyesGames/iyesgames.github.io
publish_dir: ./target/doc
destination_dir: ./minewars/api