From 438e1398992234c650002bb4bb612c0fc573f8b5 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Mon, 5 Jun 2023 19:43:59 -0700 Subject: [PATCH] frick this language --- .github/workflows/deploy.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9309410..f09eba9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,26 +25,26 @@ jobs: with: cache-all-crates: "true" cache-targets: "false" - - run: cargo install --locked --path . + # - run: cargo install --locked --path . - # - name: Install latest mdbook - # run: | - # tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name') - # url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz" - # mkdir mdbook - # curl -sSL $url | tar -xz --directory=./mdbook - # echo `pwd`/mdbook >> $GITHUB_PATH - # - name: Install plugins - # run: | - # cargo install mdbook-bib - # cargo install mdbook-mermaid + - name: Install latest mdbook + run: | + tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name') + url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz" + mkdir mdbook + curl -sSL $url | tar -xz --directory=./mdbook + echo `pwd`/mdbook >> $GITHUB_PATH + - name: Install plugins + run: | + cargo install mdbook-bib + cargo install mdbook-mermaid - name: Deploy GitHub Pages run: | # This assumes your book is in the root of your repository. # Just add a `cd` here if you need to change to another directory. - # mdbook build + mdbook build # the binary of the package builds the book! - docs + # docs git worktree add gh-pages git config user.name "Deploy from CI" git config user.email ""