Skip to content

Update macos ci (#69) #80

Update macos ci (#69)

Update macos ci (#69) #80

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