~chambln/gemini.cosine.blue

6d605aeb77401f0225ba3eb9725f59a44233c29a — Gregory Chamberlain 23 days ago 610b5dc
Add debian.yml with deploy task
1 files changed, 11 insertions(+), 0 deletions(-)

A .builds/debian.yml
A .builds/debian.yml => .builds/debian.yml +11 -0
@@ 0,0 1,11 @@
image: debian/stable
packages:
  - rsync
secrets:
  - 749bcab5-e820-4f38-b247-d829d721f821
tasks:
  - deploy: |
      if [ "$(git rev-parse HEAD)" = "$(git rev-parse master)" ]; then
          ssh-keyscan cosine.blue >> ~/.ssh/known_hosts
          rsync -rv gemini.cosine.blue greg@cosine.blue:gemini
      fi