Restructure top-level documentation. #1
Workflow file for this run
This file contains hidden or 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 to Crates IO | |
| on: | |
| push: | |
| tags: | |
| - 'v*' # Trigger the workflow when a tag starting with 'v' is pushed, like v1.0.0 | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Rust | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - name: Deploy to Crates IO | |
| run: | | |
| cargo publish \ | |
| --token ${{ secrets.CRATES_IO_TOKEN }} |