Добавил деплой в тестовое окружение
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lulzette 2022-01-03 08:26:26 +00:00
parent 25c2af3139
commit 18e8163a7a

View File

@ -1,7 +1,7 @@
--- ---
kind: pipeline kind: pipeline
type: exec type: exec
name: default name: master
steps: steps:
- name: Check playbook - name: Check playbook
@ -13,3 +13,27 @@ steps:
- ansible-playbook playbook.yml - ansible-playbook playbook.yml
node: node:
target: shell-scripts target: shell-scripts
when:
branch:
- master
---
kind: pipeline
type: exec
name: not master
when:
branch:
- test
- feature/*
steps:
- name: Check playbook
commands:
- ansible-playbook -C playbook.yml
- name: Run playbook
commands:
- ansible-playbook playbook.yml
node:
target: generic