feat: use git clone path
This commit is contained in:
parent
64b44f2dc2
commit
3210393968
1 changed files with 1 additions and 1 deletions
|
|
@ -275,7 +275,7 @@
|
|||
nixos-rebuild
|
||||
];
|
||||
script = ''
|
||||
[[ ! -d '/root/nixconf' ]] && cd /root && git clone git@github.com:itepastra/nixconf
|
||||
[[ ! -d '/root/nixconf' ]] && git clone git@github.com:itepastra/nixconf /root/nixconf
|
||||
cd /root/nixconf
|
||||
git reset --hard origin/main
|
||||
git pull
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue