openpunk-ansible/roles/blog/templates/updateBlog

5 lines
114 B
Plaintext
Raw Normal View History

#!/bin/bash
cd /var/www/{{ domain }}
/usr/bin/git fetch origin
/usr/bin/git reset --hard origin/main
/usr/bin/hugo