Skip to content

Question about new cards/day (#51) #166

Question about new cards/day (#51)

Question about new cards/day (#51) #166

Workflow file for this run

env:
cname: faqs.ankiweb.net
name: github pages
on:
push:
branches:
- main
- test
jobs:
deploy:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Cache binaries
uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-bin-${{ hashFiles('.github/workflows/build.sh') }}
restore-keys: |
${{ runner.os }}-bin-
- name: Build
run: .github/workflows/build.sh
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/html
cname: ${{ env.cname }}
check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Cache binaries
uses: actions/cache@v4
with:
path: ~/.cargo/bin
key: ${{ runner.os }}-bin-${{ hashFiles('.github/workflows/build.sh') }}
restore-keys: |
${{ runner.os }}-bin-
- name: Build
run: CHECK=1 .github/workflows/build.sh