aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 97304f1761e2d160d2017973e2118d48531649f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
image: fedora/36
packages:
  - rsync
  - make
  - pandoc

secrets:
  - 008c4f67-b864-47f8-9790-cd32f2ae8516

environment:
  deploy: builds@gabrielgio.me
  target: artifacts.gabrielgio.me/jnfilter

tasks:
  - deps: |
      cd jnfilter
      sudo make install_deps
  - build: |
      cd jnfilter
      make
  - readme: |
      cd jnfilter
      make docs
  - deploy: |
      cd jnfilter
      sshopts="ssh -o StrictHostKeyChecking=no"
      rsync --rsh="$sshopts" -rP dist/*.rpm index.html $deploy:/var/www/$target