Skip to content

Merge pull request #48 from japaric/rust-crypto-no-std #68

Merge pull request #48 from japaric/rust-crypto-no-std

Merge pull request #48 from japaric/rust-crypto-no-std #68

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
jobs:
rustdoc:
runs-on: ubuntu-latest
steps:
- uses: hecrj/setup-rust-action@master
- uses: actions/checkout@master
- name: Build docs
run: |
cargo doc --all-features --no-deps
touch target/doc/.nojekyll
cat > target/doc/index.html <<EOF
<!doctype html>
<html><head>
<meta http-equiv="refresh" content="0; URL='hpke_rs/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