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