From 723700dfcfe3c30e6499841505fc13947affd25b Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 9 Aug 2022 23:55:05 -0400 Subject: [PATCH] Automatically update crate docs on push --- .build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.build.yml b/.build.yml index 426a95d..785c4b0 100644 --- a/.build.yml +++ b/.build.yml @@ -3,9 +3,17 @@ packages: - rust - cargo-deny - unshield + - rsync sources: - https://git.sr.ht/~redstrate/physis +secrets: + - b748582a-5d31-4fe8-94d6-4a63035e97aa tasks: + - update-docs: | + cd physis + cargo doc --release --no-deps + echo "StrictHostKeyChecking=no" >> ~/.ssh/config + rsync -Wvr target/doc/ deploy@ryne.moe:/var/ryne/sync/physis-docs - check: | cd physis cargo check