]> git.r.bdr.sh - rbdr/r.bdr.sh/blob - .build.yml
CD out of documents
[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 - 21c73f87-a944-4560-a616-2dfd558c72da
11 tasks:
12 - build_page: |
13 cd page
14 make -e profile=release
15 cd ..
16 - generate_page: |
17 cd unlimited.piza
18 ../page/target/release/page
19 cd ..
20 - sync_html: |
21 rsync -r unlimited.pizza_html/ deploy@barthes.unlimited.pizza:/var/www/www
22 - sync_gemini: |
23 rsync -r unlimited.pizza_gemini/ deploy@barthes.unlimited.pizza:/var/gemini/content