From be08f900a19c697a048a9e1f3602156e01bc093a Mon Sep 17 00:00:00 2001 From: xuu Date: Mon, 29 May 2023 10:10:38 -0600 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 67210fa..7a0af6e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,4 +6,15 @@ steps: - name: test image: golang:1.20 commands: - - go test -v -race -skip '^TestE2E' ./... \ No newline at end of file + - go test -v -race -skip '^TestE2E' ./... + +- name: deploy + image: plugins/ansible:3 + settings: + playbook: .ansible/playbook.yml + inventory: .ansible/inventory + become: true + become_method: sudo + user: deploy + private_key: + from_secret: drone_ssh \ No newline at end of file