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