Compare commits
7 commits
2a8804ca02
...
e8c14e7447
| Author | SHA1 | Date | |
|---|---|---|---|
| e8c14e7447 | |||
| bd15dc3433 | |||
| 4a210f0762 | |||
| db90cac05a | |||
| 03e967124a | |||
| cc5c91a9b6 | |||
| 7df70294d3 |
2 changed files with 26 additions and 8 deletions
|
|
@ -1,9 +1,24 @@
|
||||||
when:
|
when:
|
||||||
|
- event: push
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: smoke
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- pwd
|
||||||
|
- whoami
|
||||||
|
- hostname
|
||||||
|
- printf '%s %s %s\n' "$(date --iso-8601=seconds)" "$(hostname)" "$(git rev-parse --short HEAD)" >> /var/tmp/woodpecker-smoke.log
|
||||||
|
- tail -n 5 /var/tmp/woodpecker-smoke.log
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
- branch: master
|
- branch: master
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
deploy:
|
- name: deploy
|
||||||
|
image: bash
|
||||||
commands:
|
commands:
|
||||||
- sh ~/nixconf/update.sh
|
- sudo -n /usr/local/libexec/deploy-kotsukotsu
|
||||||
- nh os switch -H sortug ~/nixconf --target-host root@sortug
|
|
||||||
|
|
|
||||||
3
lol.lmao
Normal file
3
lol.lmao
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
1
|
||||||
|
2
|
||||||
|
3
|
||||||
Loading…
Add table
Add a link
Reference in a new issue