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

set -e

./ssh_setup.sh

ssh-keygen -y -f ~/.ssh/id_ed25519

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