The website running on https://boba.best
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

41 lines
802 B

---
kind: pipeline
type: docker
name: Deploy to boba.best
trigger:
branch:
- master
event:
exclude:
- pull_request
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build
image: bbaovanc/hugo
commands:
- hugo version
- hugo
- name: compress
image: bbaovanc/compression:latest
commands:
- time ./compress.sh
- name: upload
image: appleboy/drone-scp
settings:
host: boba.best
port: 2222
username: droneci
key:
from_secret: SSH_KEY
target: /var/www/boba.best/public/
rm: true
source: public/
strip_components: 1