This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
Update readme with a deprecation warning (#379) #281
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: Deploy Docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
rustdoc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hecrj/setup-rust-action@master | |
- uses: actions/checkout@master | |
- name: Build docs | |
run: | | |
rustup toolchain install nightly-2022-07-04 | |
cargo +nightly-2022-07-04 doc --all-features | |
touch target/doc/.nojekyll | |
cat > target/doc/index.html <<EOF | |
<!doctype html> | |
<html><head> | |
<meta http-equiv="refresh" content="0; URL='hacspec/index.html'" /> | |
</head></html> | |
EOF | |
- name: Deploy to Github Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: target/doc |