summaryrefslogtreecommitdiff
path: root/update.sh
blob: da1a763cee1f44da5e0b2790530ab2a86903b0d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash

set -e

./ssh_setup.sh

git config --global user.email "msci@toufy.me"
git config --global user.name "makeshiftci"

nix-channel --update

nix --extra-experimental-features "nix-command flakes" flake update

git diff --exit-code flake.lock && exit 0
git add .
git commit -m "update flake.lock"
git push ssh://git@git.toufy.me:servers