Skip to content

Commit

Permalink
Merge pull request #903 from kamadorueda/main
Browse files Browse the repository at this point in the history
feat(build): #901 use relative folder
  • Loading branch information
kamadorueda authored Sep 9, 2022
2 parents a8262ac + 4ed02fd commit 27b4938
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
full_commit_message: ${{ github.event.head_commit.message }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: docs
publish_dir: ~/.makes/out-docs/
publish_dir: docs/book
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com

Expand Down
1 change: 0 additions & 1 deletion makes/docs/builder.sh

This file was deleted.

3 changes: 3 additions & 0 deletions makes/docs/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# shellcheck shell=bash

mdbook build docs
8 changes: 3 additions & 5 deletions makes/docs/main.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
inputs,
makeDerivation,
projectPath,
makeScript,
...
}:
makeDerivation {
makeScript {
name = "docs";
env.envDocs = projectPath "/docs";
builder = ./builder.sh;
entrypoint = ./entrypoint.sh;
searchPaths.bin = [inputs.nixpkgs.mdbook];
}
1 change: 1 addition & 0 deletions makes/tests/makeTemplate/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ testTitle: >-
‘ ’ “ ” • – — ˜ ™ š › œ ž Ÿ
¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯
° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿
Expand Down

0 comments on commit 27b4938

Please sign in to comment.