]> git.r.bdr.sh - rbdr/r.bdr.sh/blob - .build.yml
d41c34ca7763c62278b0f959b7811ea66c4c8d85
[rbdr/r.bdr.sh] / .build.yml
1 image: archlinux
2 packages:
3 - make
4 - rust
5 - rsync
6 sources:
7 - git@git.sr.ht:~rbdr/page
8 - git@git.sr.ht:~rbdr/unlimited.pizza
9 secrets:
10 - 89d3b676-25d6-4942-8231-38b73aa62bf6
11 - 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff
12 tasks:
13 - build_page: |
14 cd page
15 make -e profile=release
16 - generate_page: |
17 cd unlimited.pizza
18 rm .build.yml
19 ../page/target/release/page
20 - sync_html: |
21 rsync -r --exclude '.build.yml' unlimited.pizza_html/ deploy@conchos.unlimited.pizza:/srv/http/www
22 - sync_gemini: |
23 rsync -r --exclude '.build.yml' unlimited.pizza_gemini/ deploy@conchos.unlimited.pizza:/srv/gemini/content