summaryrefslogtreecommitdiff
path: root/update.sh
blob: 6a248d2eabb63021bc8514f998174f68cf22d9de (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 git@git.toufy.me:servers main