]> git.armaanb.net Git - config.org.git/blob - .build.yml
Initial commit
[config.org.git] / .build.yml
1 image: alpine/edge
2 secrets:
3   - 5752743f-34af-46a8-aad9-b5d31e305b3b
4 packages:
5   - rsync
6   - git
7   - hugo
8 sources:
9   - https://git.sr.ht/~armaan/armaanb.net
10 triggers:
11   - action: email
12     condition: failure
13     to: me@armaanb.net
14 tasks:
15   - get-emacs-config: |
16       cd armaanb.net
17       ./bin/emacs-get
18   - build-http: |
19       cd armaanb.net
20       hugo --minify
21   - deploy: |
22       rsync -azre 'ssh -o StrictHostKeyChecking=no -p 23' armaanb.net/public/config.html web@armaanb.net:/var/www/armaanb.net-http/config.html