Skip to content

Commit

Permalink
Deploy documentation automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 committed Jun 11, 2020
1 parent bf33369 commit 7d86ee2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ tasks:
- "git clone --recursive --quiet ${repository} &&
cd rust-code-analysis &&
git -c advice.detachedHead=false checkout ${head_rev} &&
cargo install mdbook --no-default-features --features output --vers \"^0.1.0\" &&
cargo build --all --release &&
./rust-code-analysis-book/deploy-to-GitHub-Pages &&
cd target/release &&
strip rust-code-analysis-cli &&
tar -zvcf /build.tar.gz \
Expand Down
2 changes: 1 addition & 1 deletion rust-code-analysis-book/deploy-to-GitHub-Pages
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
git worktree add -b gh-pages /tmp/book
mdbook build
rm -rf /tmp/book/* # this won't delete the .git directory
cp -rp book/* /tmp/book/
cp -rp rust-code-analysis-book/book/* /tmp/book/
cd /tmp/book
git add -A
git commit -m "Deploy rust-code-analysis"
Expand Down

0 comments on commit 7d86ee2

Please sign in to comment.