File: git-post-update

package info (click to toggle)
debian-timeline 42
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 256 kB
  • sloc: python: 115; makefile: 59; sh: 6
file content (7 lines) | stat: -rwxr-xr-x 256 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh
set -e
umask 002
DIR=/srv/timeline.debian.net
git --work-tree=$DIR/build reset --hard master
make -C $DIR/build install prefix= datadir= DESTDIR=$DIR/htdocs symlinks=0
sudo -u staticsync /usr/local/bin/static-update-component timeline.debian.net