Skip to content

Commit

Permalink
feat(build): #901 use relative folder
Browse files Browse the repository at this point in the history
- Aparently the github action does not support
  paths outside of the repository, so lets
  use a relative path
  • Loading branch information
kamadorueda committed Sep 9, 2022
1 parent a8262ac commit d9809e8
Show file tree
Hide file tree
Showing 5 changed files with 6 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.

1 change: 1 addition & 0 deletions makes/docs/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
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 d9809e8

Please sign in to comment.