diff options
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -e +git checkout master +git fetch +git merge --ff-only origin/master +nix-shell --command "make clean install build" +git checkout -b deploy +git add --force public +git commit -m "deploy $(date +%Y-%m-%d)" +git push --force origin deploy +git checkout master +git branch -D deploy |