diff options
author | Melody Horn <melody@boringcactus.com> | 2020-10-26 20:55:45 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-10-26 20:55:45 -0600 |
commit | c7ce2058a94c7fbd22fc409738ad8d15af30b170 (patch) | |
tree | eb88db57f9c691869974eb19768f1c21f91c9b6b | |
parent | ec9ce43029a4330e6fd9a617d9475a2f87f8b6e9 (diff) | |
download | spec-c7ce2058a94c7fbd22fc409738ad8d15af30b170.tar.gz spec-c7ce2058a94c7fbd22fc409738ad8d15af30b170.zip |
deployment should be not terrible
-rw-r--r-- | .build.yml | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -19,12 +19,15 @@ tasks: cd crowbar-spec make check - upload: | + upload() { + rsync --rsh="ssh -o StrictHostKeyChecking=no" -rlt8hP --del $@ services@boringcactus.com:/var/www/html/crowbar-lang.org/ + } cd crowbar-spec - rsync -rlt8hP --del *.html services@boringcactus.com:/var/www/html/crowbar-lang.org/ - rsync -rlt8hP --del spec.pdf services@boringcactus.com:/var/www/html/crowbar-lang.org/ + upload *.html spec.pdf - notify: | cd crowbar-spec - (sleep 20; echo ':j #crowbar-lang'; echo "/me crowbar spec updated: $(git log -1 --no-decorate --oneline)") | sic -h chat.freenode.net -n crowbar-notifs + message="crowbar spec updated: $(git log -1 --no-decorate --oneline)" + echo "$message" | ssh -o StrictHostKeyChecking=no services@boringcactus.com 'sh -c "cat > ~/irc/chat.freenode.net/#crowbar-lang/in"' artifacts: - crowbar-spec/spec.pdf - spec-html.tar.gz |