Skip to content

Say what audiolink is in fewer words #632

Say what audiolink is in fewer words

Say what audiolink is in fewer words #632

Workflow file for this run

name: Deploy
on:
push:
branches: [master]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v7
with:
submodules: recursive
# Page created/updated dates and version counts are read from git history
# at build time, so the default shallow clone would flatten them all.
fetch-depth: 0
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Install Rust toolchain
run: nix develop . --command rustup toolchain install --profile minimal stable --target wasm32-unknown-unknown
- name: Build site
run: nix develop . --command cargo run --locked --no-default-features --manifest-path tools/site/Cargo.toml -- build --prod
- name: Upload artifact
uses: actions/[email protected]
with:
path: public
- name: Deploy to GitHub Pages
id: deployment
uses: actions/[email protected]