infra/playbooks/beta/websites/update-resume.yml
2021-12-27 23:42:17 -08:00

16 lines
377 B
YAML

---
- hosts: web
remote_user: web
tasks:
- name: Push out resume public content
copy:
src: "{{RESUME_LOCAL_PUBLIC}}/public"
dest: /var/www/
- name: Remove old content
file:
path: /var/www/resume.shockrah.xyz
state: absent
- name: Pull up resume content
command: mv /var/www/public /var/www/resume.shockrah.xyz