Skip to content

move to v0.1.5

move to v0.1.5 #27

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
jobs:
rustdoc:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
run: rustup update --no-self-update stable
- name: Build Documentation
run: cargo doc --all --no-deps
- name: Create index.html
run: echo '<meta http-equiv="refresh" content="0; url=codeprompt/index.html">' > target/doc/index.html
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./target/doc
force_orphan: true