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.

34 lines
638 B

---
kind: pipeline
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build
image: "klakegg/hugo:0.83.1"
commands:
- mkdir dist
- hugo -d dist
- ls -la dist
- name: deploy
image: appleboy/drone-scp
settings:
source: dist/*
target: /var/www/ptrcnull.me
host:
from_secret: ssh_host
username:
from_secret: ssh_username
password:
from_secret: ssh_password
strip_components: 1
when:
branch:
- master
event:
exclude:
- pull_request