diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-07-11 13:25:14 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-07-11 13:25:14 +0200 |
commit | bdcbd5d764117314d1c396fa41e09b9419a70753 (patch) | |
tree | e2e921088e5d172ab9c0ec3315860a9f9067facb /.build.yml | |
parent | 2e242fadda12645e2cbe24e19ba5afcc85db6248 (diff) | |
download | tres-bdcbd5d764117314d1c396fa41e09b9419a70753.tar.gz tres-bdcbd5d764117314d1c396fa41e09b9419a70753.tar.bz2 tres-bdcbd5d764117314d1c396fa41e09b9419a70753.zip |
fix: Add build file
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 25 |
1 files changed, 25 insertions, 0 deletions
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/ + + |