paulbsd-salt/.drone.yml
Paul f2504c04b4
All checks were successful
continuous-integration/drone/push Build is passing
updated .drone.yml
2025-03-09 23:25:42 +01:00

29 lines
534 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: Salt lint
image: python
commands:
- pip3 install salt-lint
- salt-lint -x 204,207,208,210 states/*/*.sls
- name: Deploy
image: drillster/drone-rsync
settings:
hosts:
- salt.paulbsd.com
source: ./states/
target: /srv/salt/states
delete: true
exclude:
- "README.md"
- "../states/old"
user: salt
key:
from_secret: drone_ssh_key
when:
branch:
- master