~gsthnz/cyberpunksin.space

02f5e018e46a6192225233b10366b802a5bec388 — Pass Automated Testing Suite 3 years ago 1cfbfcf
Add build manifest
1 files changed, 20 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +20 -0
@@ 0,0 1,20 @@
image: alpine/edge
packages:
  - rsync
sources:
  - https://git.sr.ht/~gsthnz/cyberpunksin.space
environment:
  deploy: deploy@cyberpunksin.space
secrets:
  - 0ed7f165-217d-42e7-9971-8d6b2896b407
tasks:
  - check-branch: |
      cd cyberpunksin.space
      if [ "$(git rev-parse master)" != "$(git rev-parse HEAD)" ]; then \
         complete-build; \
      fi
  - deploy: |
      cd cyberpunksin.space
      sshopts="ssh -o StrictHostKeyChecking=no"
      rsync --rsh="$sshopts" -rP content/. $deploy:/srv/gemini/cyberpunksin.space