File: deploy.sh

package info (click to toggle)
gcli 2.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,476 kB
  • sloc: ansic: 25,411; sh: 580; makefile: 509; yacc: 261; lex: 59
file content (11 lines) | stat: -rwxr-xr-x 236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -xe
#
# This script builds the website and then creates a tarball that
# is pulled regularly from the server
#

cd $(dirname $0)

DISTDIR=$(./build.sh)
tar -c -f - -C ${DISTDIR} \. | xz > website_dist.tar.xz
rm -fr ${DISTDIR}