aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: f5d0756d19fa57e586fde049609b27a82756c070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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/