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.
30 lines
486 B
30 lines
486 B
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: klakegg/hugo:0.55.6-ext-alpine
|
|
commands:
|
|
- hugo
|
|
|
|
- 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
|
|
|
|
|