Documentation Source Text

Check-in [ac603d6340]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add a script for pushing builds of the website out to all three servers. Take care that draft builds are pushed only in the draft directory.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ac603d6340f7fc6fbe4b9dba5844c291b17a55e9
User & Date: drh 2012-10-19 22:24:29
Context
2012-10-23
13:29
Added "charset=utf-8" marks to the content type in althttpd.c. check-in: de32cdc42a user: drh tags: trunk
2012-10-19
22:24
Add a script for pushing builds of the website out to all three servers. Take care that draft builds are pushed only in the draft directory. check-in: ac603d6340 user: drh tags: trunk
2012-10-15
20:39
Fix the INSERT documentation to describe the fact that the VALUES form of an INSERT can insert multiple rows. check-in: ee9ff30ec6 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added push.sh.









































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
#
# Run this script to push a build of the SQLite website (found in
# ~/sqlite/website/bld/doc) up to all three servers.
#
export RSYNC_RSH=ssh
cd ~/sqlite/website/bld/doc
if grep DRAFT index.html >/dev/null
then 
  DEST=/draft
else
  DEST=
fi
rm -rf matrix
echo 'www.sqlite.org:'
rsync -r * root@sqlite.org:/home/www/www_sqlite_org.website$DEST
echo 'www2.sqlite.org:'
rsync -r * root@www2.sqlite.org:/home/www/www_sqlite_org.website$DEST
echo 'www3.sqlite.org:'
rsync -r * hwaci@sugar.he.net:public_html/sw/sqlite$DEST