This commit is contained in:
parent
6ca71e0ff7
commit
63ee80ae98
24
.drone.yml
Normal file
24
.drone.yml
Normal 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/*
|
Reference in New Issue
Block a user