This repository has been archived on 2021-05-12. You can view files and clone it, but cannot push or open issues or pull requests.
boba.best.legacy/.drone.yml

42 lines
791 B
YAML
Raw Permalink Normal View History

2021-04-24 21:37:42 -05:00
---
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
2021-05-12 10:34:19 -05:00
image: bbaovanc/hugo
2021-04-24 21:37:42 -05:00
commands:
- hugo version
- hugo --minify
2021-04-24 23:02:45 -05:00
- name: list files
2021-04-24 21:37:42 -05:00
image: alpine:latest
commands:
2021-04-24 23:02:45 -05:00
- find public/
2021-04-24 21:37:42 -05:00
- name: upload
image: appleboy/drone-scp
settings:
host: boba.best
port: 22
username: droneci
key:
from_secret: SSH_KEY
target: /var/www/boba.best/public/
rm: true
source: public/
strip_components: 1