Website/.ansible/playbook.yml
Mangiang 8c442b792d
All checks were successful
continuous-integration/drone/push Build is passing
refacto: move items to its own repo
2022-05-28 23:44:16 -04:00

12 lines
282 B
YAML

---
- name: update the server
hosts: sptarkov
tasks:
- name: Update website
git:
repo: "{{ lookup('env', 'DRONE_REPO_LINK') }}"
dest: "{{ lookup('env', 'SPT_WEBSITE_PATH') }}"
update: yes
version: "{{ lookup('env', 'DRONE_BRANCH') }}"