parent
7df70294d3
commit
cc5c91a9b6
1 changed files with 3 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ steps:
|
||||||
- pwd
|
- pwd
|
||||||
- whoami
|
- whoami
|
||||||
- hostname
|
- hostname
|
||||||
- git rev-parse --short HEAD
|
# - git rev-parse --short HEAD
|
||||||
- test -d ~/nixconf
|
- test -d ~/nixconf
|
||||||
- printf '%s %s %s\n' "$(date --iso-8601=seconds)" "$(hostname)" "$(git rev-parse --short HEAD)" >> ~/woodpecker-smoke.log
|
- printf '%s %s %s\n' "$(date --iso-8601=seconds)" "$(hostname)" "$(git rev-parse --short HEAD)" >> ~/woodpecker-smoke.log
|
||||||
- tail -n 5 ~/woodpecker-smoke.log
|
- tail -n 5 ~/woodpecker-smoke.log
|
||||||
|
|
@ -24,4 +24,5 @@ steps:
|
||||||
image: bash
|
image: bash
|
||||||
commands:
|
commands:
|
||||||
- sh ~/nixconf/update.sh
|
- sh ~/nixconf/update.sh
|
||||||
- nh os switch -H sortug ~/nixconf --target-host root@sortug
|
# - nh os switch -H sortug ~/nixconf --target-host root@sortug
|
||||||
|
- nixos-rebuild switch --flake ~/nixconf#sortug --target-host root@sortug
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue