openpunk-ansible/templates/blog/updateBlog

5 lines
114 B
Bash

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