Automatically deploy to bbaovanc.com using Drone #1

Merged
bbaovanc merged 12 commits from drone-ci-deploy into master 2021-04-14 00:56:00 -05:00
1 changed files with 24 additions and 0 deletions
Showing only changes of commit 63ee80ae98 - Show all commits

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
---
kind: pipeline
type: docker
name: Deploy to bbaovanc.com
steps:
- name: Build site
image: mapitman/docker-hugo
commands:
- hugo version
- hugo --minify
- name: Upload files
image: appleboy/drone-scp
aettings:
host: bbaovanc.com
port: 2222
username: droneci
key:
from_secret: SSH_KEY
target: /var/www/bbaovanc/blog
rm: true
source:
- public/*