diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..563aba4 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,30 @@ +kind: pipeline +name: default + +steps: +- name: build + image: plugins/hugo + settings: + hugo_version: 0.80.0 + pull: always + url: https://gitea.derajnet.duckdns.org/deranjer/recipes + validate: true + +- name: deploy + image: appleboy/drone-scp + settings: + host: recipes + target: /mnt/data/websites/recipes/site/ + source: public/* + username: + from_secret: ssh_username + password: + from_secret: ssh_password + port: + from_secret: ssh_port + when: + branch: + - master + event: + exclude: + - pull_request \ No newline at end of file