From bdcbd5d764117314d1c396fa41e09b9419a70753 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Mon, 11 Jul 2022 13:25:14 +0200 Subject: fix: Add build file --- .build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .build.yml (limited to '.build.yml') diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..f5d0756 --- /dev/null +++ b/.build.yml @@ -0,0 +1,25 @@ +image: alpine/latest +packages: + - build-base + - make + - npm + - rsync + +secrets: + - 008c4f67-b864-47f8-9790-cd32f2ae8516 + +environment: + deploy: builds@gabrielgio.me + +tasks: + - setup: | + sudo npm install html-minifier -g + - build: | + cd tres + make + - deploy: | + cd tres + sshopts="ssh -o StrictHostKeyChecking=no" + rsync --rsh="$sshopts" -rP public/* $deploy:/var/www/tres.gabrielgio.me/ + + -- cgit v1.2.3