ci-docs: copy the gir file before attempting to generate docs

This commit is contained in:
Bilal Elmoussaoui 2020-06-19 20:01:04 +02:00
parent 6c61af4b89
commit 7d6d653cc5
No known key found for this signature in database
GPG key ID: 1FFF9F28D4E0F10E

View file

@ -21,6 +21,7 @@ pages:
stage: deploy
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