ci-docs: run rsdoc-stripper with abs path
an attempt to fix the $PATH issue
This commit is contained in:
parent
f6b869a834
commit
568a09eda8
|
@ -19,14 +19,12 @@ build:
|
|||
|
||||
pages:
|
||||
stage: deploy
|
||||
before_script:
|
||||
- export PATH="/root/.cargo/bin:$PATH"
|
||||
script:
|
||||
# generate the docs
|
||||
- cp ./Handy-0.0.gir ./gir-files
|
||||
- cargo run --release -- -c ./libhandy/Gir.toml -d ./gir-files --doc-target-path docs.md -m doc
|
||||
- cargo install rustdoc-stripper
|
||||
- rustdoc-stripper -g -o ./libhandy/docs.md
|
||||
- /root/.cargo/bin/rustdoc-stripper -g -o ./libhandy/docs.md
|
||||
- cargo doc -p libhandy --all-features
|
||||
- mv target/doc/ public
|
||||
artifacts:
|
||||
|
|
Loading…
Reference in a new issue