diff --git a/.woodpecker/job.yaml b/.woodpecker/job.yaml index 00e0f52..c0ffef9 100644 --- a/.woodpecker/job.yaml +++ b/.woodpecker/job.yaml @@ -1,24 +1,9 @@ -when: - - event: push + when: + - event: push + - branch: master -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 - - branch: master - -steps: - - name: deploy - image: bash - commands: - - sudo -n /usr/local/libexec/deploy-kotsukotsu + steps: + deploy: + commands: + - sh ~/nixconf/update.sh + - nh os switch -H sortug ~/nixconf --target-host root@sortug diff --git a/lol.lmao b/lol.lmao deleted file mode 100644 index 01e79c3..0000000 --- a/lol.lmao +++ /dev/null @@ -1,3 +0,0 @@ -1 -2 -3