diff --git a/.drone.yml b/.drone.yml index 7128530..cf27734 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,10 +3,13 @@ type: docker name: deploy steps: -- name: deploy - image: ubuntu:latest - entrypoint: ["/bin/bash"] +- name: build + image: ghcr.io/getzola/zola:v0.17.2 + entrypoint: ["/bin/zola"] + command: ["build"] +- name: deploy + image: ubuntu:22.04 environment: HOST: from_secret: host @@ -16,11 +19,9 @@ steps: from_secret: ssh_key PATH: from_secret: path - when: branch: - main - commands: - echo test - - apt-get update + - apt update