diff --git a/.drone.yml b/.drone.yml index 1a496f8..2200eda 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,8 +3,13 @@ type: docker name: deploy steps: +- name: build + image: ghcr.io/getzola/zola:v0.17.2 + entrypoint: ["/bin/zola"] + command: ["build"] + - name: deploy - image: ubuntu:22.04 + image: alpine:latest environment: HOST: from_secret: host @@ -12,10 +17,11 @@ steps: from_secret: user SSH_KEY: from_secret: ssh_key - PATH: + SITE_PATH: from_secret: path when: branch: - main commands: - - cat /etc/os-release + - apk update + - apk add openssh rsync