Website/.ansible-website/playbook.yml
Mangiang 1907ed0554
All checks were successful
continuous-integration/drone/push Build is passing
fix: rename db_deploy_path and make git version dynamic
2022-05-06 22:04:59 -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') }}"