aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 07080e18ba62976d5a101f869de62462f1a30403 (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
image: fedora/36
packages:
  - rsync
  - make

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
  - deploy: |
      cd jnfilter
      sshopts="ssh -o StrictHostKeyChecking=no"
      rsync --rsh="$sshopts" -rP dist/*.rpm $deploy:/var/www/$target