aboutsummaryrefslogtreecommitdiff
path: root/local/hooks/repo-specific/deploy-laminar-config
blob: cf00dc25a0056358d06376e87bf19a41dab3b146 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/execlineb

backtick -n tempdir { mktemp -d }
importas -u GL_REPO GL_REPO
importas -u tempdir tempdir

if { git clone -q . "${tempdir}"/laminar }
if { rsync -ru --del "${tempdir}"/laminar/jobs/ /var/lib/laminar/cfg/jobs/ }
rm -rf "${tempdir}"