From 184a8d32e48441ff8025b2ea6cc2bec579d352c2 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sat, 25 Jun 2022 16:13:19 +0200 Subject: ref: Move from gitlab to sr.ht pipeline --- .build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .build.yml (limited to '.build.yml') diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..82ea506 --- /dev/null +++ b/.build.yml @@ -0,0 +1,26 @@ +image: alpine/latest +packages: + - curl + +secrets: + - 008c4f67-b864-47f8-9790-cd32f2ae8516 + +environment: + deploy: builds@gabrielgio.me + +tasks: + - rustup: | + export PATH="$PATH:$HOME/.cargo/bin" + apk add npm make curl build-base firefox + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --quiet -y + curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh + - test: | + cd genpass + make test + - deploy: | + cd genpass + make + sshopts="ssh -o StrictHostKeyChecking=no" + rsync --rsh="$sshopts" -rP public/* $deploy:/var/www/genpass.gabrielgio.me/ + + -- cgit v1.2.3