Skip to content

Commit

Permalink
tools: Add publish-book script
Browse files Browse the repository at this point in the history
  • Loading branch information
XuShaohua committed Dec 12, 2023
1 parent e63a330 commit a395838
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tools/publish-book.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
# Copyright (c) 2023 Xu Shaohua <[email protected]>. All rights reserved.
# Use of this source is governed by General Public License that can be
# found in the LICENSE file.

# Build and release the book.

set -xe

mdbook build
rsync --delete -ave "ssh -p ${ZU_SERVER_PORT}" book-out/ ${ZU_SERVER}/algs

0 comments on commit a395838

Please sign in to comment.