view deploy/config/cron.hourly/40-export-git @ 1624:76f8f0814e1e live

Use --check to avoid errors when updating in repos with more than one head
author Chris Cannam
date Fri, 10 Aug 2018 16:08:05 +0100
parents c18460da6620
children
line wrap: on
line source
#!/bin/bash

logfile="/var/www/code/log/export-git.log"

sudo -u code sh -c "cd /tmp ; /var/www/code/extra/soundsoftware/export-git.sh production /var/hg /var/files/git-mirror >> $logfile 2>&1"