Skip to content

nixpkgs: link to [[modules]] #44

nixpkgs: link to [[modules]]

nixpkgs: link to [[modules]] #44

Workflow file for this run

name: "Build & Publish"
on:
push:
branches:
- master
pull_request:
jobs:
emanote:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: nixbuild/nix-quick-install-action@v21
with:
nix_conf: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v13
with:
name: srid
- name: Build the website (Nix) 🔧
run: |
nix build -j 4
- name: Deploy to gh-pages 🚀
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./result/
cname: nixos.asia