@@ -29,45 +29,43 @@ jobs:
29
29
default : true
30
30
profile : minimal
31
31
32
- - name : Install `mdbook` dep
32
+ - name : Install `libacl`
33
33
run : |
34
34
sudo apt install libacl1-dev
35
35
36
- - name : Install `mdbook`
37
- uses : actions-rs/install@v0.1
38
- with :
39
- crate : mdbook
40
- version : latest
41
- use-tool-cache : false
42
- env :
43
- RUSTUP_TOOLCHAIN : stable
44
-
45
36
- name : Download tldr archive
46
37
run : |
47
38
curl https://tldr.sh/assets/tldr.zip --output coreutils/docs/tldr.zip
48
39
49
- - name : Install ` mdbook-toc`
50
- uses : actions-rs /install@v0.1
40
+ - name : Install necessary tools (oranda, mdbook and mdbook -toc)
41
+ uses : taiki-e /install-action@v2
51
42
with :
52
- crate : mdbook-toc
53
- version : latest
54
- use-tool-cache : false
55
- env :
56
- RUSTUP_TOOLCHAIN : stable
43
+ tool : oranda,mdbook,mdbook-toc
57
44
58
- - name : Build user Documentation
45
+ - name : Build Coreutils Docs
59
46
run : |
60
47
cd coreutils
61
48
cargo run --bin uudoc --all-features
62
- cd docs
63
- mdbook build
49
+ oranda build
64
50
65
- - name : Deploy Docs
51
+ - name : Deploy Coreutils Docs
52
+ uses : peaceiris/actions-gh-pages@v3
53
+ with :
54
+ github_token : ${{ secrets.GITHUB_TOKEN }}
55
+ publish_dir : ./coreutils/public/
56
+ destination_dir : coreutils/
57
+
58
+ - name : Build Findutils Docs
59
+ run : |
60
+ cd findutils
61
+ oranda build
62
+
63
+ - name : Deploy Findutils Docs
66
64
uses : peaceiris/actions-gh-pages@v3
67
65
with :
68
66
github_token : ${{ secrets.GITHUB_TOKEN }}
69
- publish_dir : ./coreutils/docs/book /
70
- destination_dir : user /
67
+ publish_dir : ./findutils/public /
68
+ destination_dir : findutils /
71
69
72
70
docs :
73
71
name : generate the dev doc
97
95
with :
98
96
github_token : ${{ secrets.GITHUB_TOKEN }}
99
97
publish_dir : ./coreutils/target/doc
100
- destination_dir : dev/
98
+ destination_dir : coreutils/ dev/
101
99
102
100
103
101
build-report :
0 commit comments