Make the tables all work. #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
jobs: | |
build: | |
name: Build Nix flake | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/flake-checker-action@v4 | |
with: | |
check-outdated: false | |
- uses: DeterminateSystems/nix-installer-action@v3 | |
# - uses: DeterminateSystems/magic-nix-cache-action@v1 | |
- name: Build Nix flake | |
run: nix build | |
- name: Fix permissions | |
run: cp --recursive --dereference --no-preserve=mode,ownership result/share public | |
- uses: actions/upload-pages-artifact@v2 | |
with: | |
path: public/ | |
deploy: | |
needs: build | |
name: Deploy GH Pages | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- uses: actions/deploy-pages@v2 | |
id: deployment |