Skip to content

feat: in-app self-update with aoe update and a TUI hotkey (#835) #410

feat: in-app self-update with aoe update and a TUI hotkey (#835)

feat: in-app self-update with aoe update and a TUI hotkey (#835) #410

Workflow file for this run

name: Deploy Website
on:
push:
branches: [main]
paths:
- 'website/**'
- 'docs/**'
- 'assets/**'
- 'scripts/build-site.sh'
- 'scripts/install.sh'
- 'src/**'
- 'xtask/**'
- '.github/workflows/docs.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: '22'
- name: Generate CLI documentation
run: cargo xtask gen-docs
- name: Build site
run: ./scripts/build-site.sh
- name: Upload artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0