diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 39a8e48a9..73b8186eb 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -17,16 +17,14 @@ jobs: - name: Get mdBook working-directory: book run: | - export MDBOOK_VERSION="v0.4.2" + export MDBOOK_VERSION="v0.4.4" export MDBOOK_TARBALL="mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz" export MDBOOK_URL="https://github.com/rust-lang/mdBook/releases/download/${MDBOOK_VERSION}/${MDBOOK_TARBALL}" curl -Lf "${MDBOOK_URL}" | tar -xz - name: Build working-directory: book - run: | - ./mdbook build - echo "cxx.rs" > build/CNAME + run: ./mdbook build - name: Push to gh-pages working-directory: book/build diff --git a/book/book.toml b/book/book.toml index bc2e91321..d3187e0a6 100644 --- a/book/book.toml +++ b/book/book.toml @@ -10,4 +10,5 @@ edition = "2018" build-dir = "build" [output.html] +cname = "cxx.rs" git-repository-url = "https://github.com/dtolnay/cxx"