From e349df3ff5e3ccd0e81a690faca0203bd304a917 Mon Sep 17 00:00:00 2001 From: Noah Knegt Date: Fri, 31 Mar 2023 09:55:17 +0200 Subject: [PATCH] Update the docker tag for ansible Signed-off-by: Noah Knegt --- .drone.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index b098756..ccee337 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,8 +23,18 @@ steps: environment: SSH_KEY: from_secret: ssh_key + when: + event: + - push + branch: + - master - name: ansible apply - image: cytopia/ansible:alpine + image: cytopia/ansible:infra commands: - ansible-playbook -i inventory/hosts site.yml --private-key /drone/src/.ssh/id_ed25519 + when: + event: + - push + branch: + - master