Skip to content

cargo: set workspace.resolver #9

cargo: set workspace.resolver

cargo: set workspace.resolver #9

Workflow file for this run

name: Build & deploy documentation
on:
push:
branches:
- 'main'
jobs:
default:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v22
- uses: cachix/cachix-action@v12
with:
name: typhon
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build
run: nix build -L .#typhon-doc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./result