sergio.am/.drone.yml

20 lines
278 B
YAML

---
kind: pipeline
type: docker
name: deploy-sergio.am
steps:
- name: build
image: alpine:latest
commands:
- apk update && apk add bash jq pandoc
- bash ./build.sh
- rm -rf /var/www/_site && mv _site /var/www/
when:
branch:
- main
node:
location: nexus