1
Fork 0
hugo-tango-theme-demo/.drone.yml

38 lines
631 B
YAML

---
kind: pipeline
type: docker
name: publish
steps:
steps:
- name: fetch_submodules
image: alpine/git
commands:
- ls -lah themes/tango
- git submodule update --init
- ls -lah themes/tango
- name: build
image: plugins/hugo
settings:
hugo_version: 0.58.3
pull: always
validate: true
- name: publish
image: appleboy/drone-scp
settings:
host:
from_secret: web_host
username:
from_secret: ssh_user
password:
from_secret: ssh_password
target:
from_secret: web_target
rm: true
strip_components: 1
source:
- public/*
trigger:
branch:
- master