m
Some checks failed
ci/woodpecker/push/job Pipeline failed

This commit is contained in:
polwex 2026-04-19 06:34:39 +07:00
parent 2a8804ca02
commit 7df70294d3

View file

@ -1,9 +1,27 @@
when:
- event: push
steps:
- name: smoke
image: bash
commands:
- pwd
- whoami
- hostname
- git rev-parse --short HEAD
- test -d ~/nixconf
- printf '%s %s %s\n' "$(date --iso-8601=seconds)" "$(hostname)" "$(git rev-parse --short HEAD)" >> ~/woodpecker-smoke.log
- tail -n 5 ~/woodpecker-smoke.log
---
when: when:
- event: push - event: push
- branch: master - branch: master
steps: steps:
deploy: - name: deploy
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