morgan.mcmillian.dev/main.yaml
Morgan McMillian 980a26f0f0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
delete old files from destination
2023-03-13 17:09:59 -07:00

12 lines
274 B
YAML

---
- name: Deploy morgan.mcmillian.dev site
hosts: web
vars:
html_location: /var/www/html/morgan.mcmillian.dev
tasks:
- name: Sync html directory
ansible.posix.synchronize:
src: public/
delete: true
dest: "{{ html_location }}/"