Skip to content

Update versoview and build to 0.0.9 #66

Update versoview and build to 0.0.9

Update versoview and build to 0.0.9 #66

Workflow file for this run

name: Generate And Upload Documentation
on:
workflow_dispatch:
push:
branches:
- main
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: pages
cancel-in-progress: false
env:
CARGO_TERM_COLOR: always
jobs:
generate-docs:
# Using macos since it's github's fastest runner
runs-on: macos-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo doc --package tauri-runtime-verso --package tauri-runtime-verso-build --no-deps
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./target/doc/
deploy:
runs-on: ubuntu-latest
needs: generate-docs
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4