This repository has been archived on 2021-05-20. You can view files and clone it, but cannot push or open issues or pull requests.
blog/.drone.yml
BBaoVanC 3cb6b08c92
All checks were successful
continuous-integration/drone/push Build is passing
Fix settings typo...
2021-04-14 00:25:31 -05:00

30 lines
608 B
YAML

---
kind: pipeline
type: docker
name: Deploy to bbaovanc.com
steps:
- name: Update submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: Build site
image: mapitman/docker-hugo
commands:
- hugo version
- hugo --minify
- name: Upload files
image: appleboy/drone-scp
settings:
host: bbaovanc.com
port: 2222
username: droneci
key:
from_secret: SSH_KEY
target: /tmp/blog
rm: true
source:
- public/*