aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-06-26 15:54:27 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-06-26 17:38:17 +0200
commit6b5cc98c174715494ee3bf516923374b7b4ba694 (patch)
tree5779aa903dc34ee10bc620400a349d3e2a8ae449
parent5e00f7eb42f2c533bd0b99acba5a2b8b0e9829fb (diff)
downloadjnfilter-6b5cc98c174715494ee3bf516923374b7b4ba694.tar.gz
jnfilter-6b5cc98c174715494ee3bf516923374b7b4ba694.tar.bz2
jnfilter-6b5cc98c174715494ee3bf516923374b7b4ba694.zip
fix: Ajusta a parta de destino no servidor
-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