~amolith/nnmail

062307fecb2a64e5be5190b1278d65084f988e39 — Amolith 3 years ago c0e05b7
add build manifest
1 files changed, 23 insertions(+), 0 deletions(-)

A .builds/mkdocs.yml
A .builds/mkdocs.yml => .builds/mkdocs.yml +23 -0
@@ 0,0 1,23 @@
image: archlinux
packages:
- python
- python-pip
- rsync
environment:
  port: 22
  deploy: sourcehut@nixnet.services
  path: /var/www/nnmail
secrets:
- baa22a61-055b-4185-8d94-a64d3b714aeb
sources:
- https://git.sr.ht/~amolith/nnmail
tasks:
- installation: |
    pip install mkdocs-material
    pip install mkdocs-git-revision-date-plugin
- build: |
    cd libremedia.info
    ~/.local/bin/mkdocs build
- deploy: |
    cd libremedia.info
    rsync -amzz --delete-before -e "ssh -o StrictHostKeyChecking=accept-new -p $port" site/ $deploy:$path