Skip to content

chore: update flake.lock (#405) #3

chore: update flake.lock (#405)

chore: update flake.lock (#405) #3

Workflow file for this run

name: "Deploy content to Pages"
on:
push:
branches:
- main
jobs:
deployGitHubPages:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v20
- name: Build GitHub Pages
id: build
run: |
nix build .#docs
echo "result=$(readlink ./result)" >> $GITHUB_OUTPUT
- name: Deploy Github Pages
if: ${{ github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: '${{ steps.build.outputs.result }}/'