File: git-post-update

package info (click to toggle)
debian-timeline 45
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 260 kB
  • sloc: python: 123; javascript: 69; makefile: 57; sh: 7
file content (8 lines) | stat: -rwxr-xr-x 283 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/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
chmod -R g+w $DIR/htdocs/*