sergio.am/.drone.yml

21 lines
334 B
YAML

---
kind: pipeline
type: docker
name: deploy-sergio.am
steps:
- name: build
image: ubuntu:latest
commands:
- apt -y update && apt -y install bash git git-restore-mtime jq pandoc
- git restore-mtime
- bash ./build.sh
- rm -rf /var/www/_site && mv _site /var/www/
when:
branch:
- main
node:
location: nexus