You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

36 lines
575 B

kind: pipeline
name: default
steps:
- name: build
image: klakegg/hugo:0.74.2-ext-alpine
commands:
- hugo-official
when:
branch:
- master
event:
exclude:
- pull_request
- name: deploy
image: appleboy/drone-scp
settings:
target: /usr/share/webapps/chromic.org
source: public/*
rm: true
host:
from_secret: ssh_host
username:
from_secret: ssh_username
key:
from_secret: ssh_key
port:
from_secret: ssh_port
when:
branch:
- master
event:
exclude:
- pull_request