Skip to content

chore(deps): lock file maintenance #62

chore(deps): lock file maintenance

chore(deps): lock file maintenance #62

Workflow file for this run

name: Deploy Github Pages
on:
push:
branches: [master]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Add nix-community cache
uses: cachix/cachix-action@v15
with:
name: nix-community
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- uses: actions/[email protected]
- name: Run build
run: nix-build .github/pages.nix
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./result
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4