aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 79061c0..07080e1 100644
--- a/.build.yml
+++ b/.build.yml
@@ -8,17 +8,18 @@ secrets:
environment:
deploy: builds@gabrielgio.me
+ target: artifacts.gabrielgio.me/jnfilter
tasks:
- deps: |
cd jnfilter
- make install_deps
+ 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/artifacs.gabrielgio.me/jnfilter/
+ rsync --rsh="$sshopts" -rP dist/*.rpm $deploy:/var/www/$target