Skip to content

Fix object conversions (#47) #7

Fix object conversions (#47)

Fix object conversions (#47) #7

Workflow file for this run

name: Deploy
on:
push:
tags: [ "*" ]
jobs:
deploy:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.58.1
override: true
- name: Generate docs
run: |
cargo doc
REPO_NAME=$(echo ${{ github.repository }} | cut -d '/' -f 2)
echo "<meta http-equiv=refresh content=0;url=${REPO_NAME}/index.html>" > target/doc/index.html
- name: Publish into Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: target/doc
- name: Publish to crates.io
run: cargo login ${{ secrets.CARGO_TOKEN }} && cargo publish