From 71125c36853485df2577c030c06c1433b87ba886 Mon Sep 17 00:00:00 2001 From: kayomn Date: Sat, 19 Aug 2023 20:58:38 +0100 Subject: [PATCH] Switch to Ubuntu 22.04 in CI deploy --- .drone.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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