mirror of
https://github.com/srid/ema.git
synced 2024-12-01 15:13:36 +03:00
ci: fix nix run
This commit is contained in:
parent
e9cd43723d
commit
bb1821e094
2
.github/workflows/docs.yaml
vendored
2
.github/workflows/docs.yaml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
# This builds neuron, as well as run tests
|
||||
- name: Build and generate docs HTML 🔧
|
||||
run: |
|
||||
nix run -- generate ./docs-output
|
||||
nix run . -- generate ./docs-output
|
||||
- name: Deploy to GitHub Pages 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
||||
with:
|
||||
|
@ -21,9 +21,11 @@ main = do
|
||||
If you have Nix installed with Flakes, give Ema a test-drive by running it to serve its own documentation:
|
||||
|
||||
```bash
|
||||
PORT=8000 nix run
|
||||
PORT=8000 nix run github:srid/ema
|
||||
```
|
||||
|
||||
NOTE: This will work if you have this repo's `./docs` directory locally. In future, ema should be made to include the docs in the nix derivation and reference it.
|
||||
|
||||
## Hacking
|
||||
|
||||
Run `bin/run` (or <kbd>Ctrl+Shift+B</kbd> in VSCode). This runs the clock example; modify `./.ghcid` to run a different example.
|
||||
|
Loading…
Reference in New Issue
Block a user