This repository has been archived on 2022-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
boba.best/.drone.yml
BBaoVanC 4081d4d2f4
All checks were successful
continuous-integration/drone/push Build is passing
Remove unnecessary hugo version
2021-10-03 15:13:16 -05:00

41 lines
775 B
YAML

---
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: jojomi/hugo
commands:
- 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