Skip to content

Fix typo: --outlink -> --out-link #62

Fix typo: --outlink -> --out-link

Fix typo: --outlink -> --out-link #62

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
build-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build .#www --out-link ./www
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./www
deploy-pages:
runs-on: ubuntu-latest
needs: build-pages
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
# https://github.com/actions/deploy-pages#usage
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4