mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-31 04:58:21 +00:00
Use nix shell
for building script in workflow
This commit is contained in:
parent
ce9c76ca4d
commit
b9965497fd
6
.github/workflows/generate-site.yaml
vendored
6
.github/workflows/generate-site.yaml
vendored
@ -12,10 +12,8 @@ jobs:
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- name: Setup for static site generation
|
||||
uses: workflow/nix-shell-action@v1
|
||||
with:
|
||||
packages: nodejs,coreutils
|
||||
script: |
|
||||
run: |
|
||||
nix shell nixpkgs#nodejs
|
||||
mv notebook/ site/public/
|
||||
cd site
|
||||
npm install
|
||||
|
Loading…
Reference in New Issue
Block a user