Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Commit 4ed02fd

Browse files
committed
feat(build): #901 use relative folder
- Aparently the github action does not support paths outside of the repository, so lets use a relative path
1 parent a8262ac commit 4ed02fd

5 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
full_commit_message: ${{ github.event.head_commit.message }}
138138
github_token: ${{ secrets.GITHUB_TOKEN }}
139139
publish_branch: docs
140-
publish_dir: ~/.makes/out-docs/
140+
publish_dir: docs/book
141141
user_name: github-actions[bot]
142142
user_email: github-actions[bot]@users.noreply.github.com
143143

makes/docs/builder.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

makes/docs/entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# shellcheck shell=bash
2+
3+
mdbook build docs

makes/docs/main.nix

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
22
inputs,
3-
makeDerivation,
4-
projectPath,
3+
makeScript,
54
...
65
}:
7-
makeDerivation {
6+
makeScript {
87
name = "docs";
9-
env.envDocs = projectPath "/docs";
10-
builder = ./builder.sh;
8+
entrypoint = ./entrypoint.sh;
119
searchPaths.bin = [inputs.nixpkgs.mdbook];
1210
}

makes/tests/makeTemplate/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ testTitle: >-
1313
1414
1515
16+
1617
‘ ’ “ ” • – — ˜ ™ š › œ ž Ÿ
1718
¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯
1819
° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿

0 commit comments

Comments
 (0)