#!/bin/sh cd {{ src_dir }}/etherpad prev_commit="$(git status --oneline -n 1 | cut -c1-7)" git pull new_commit="$(git status --oneline -n 1 | cut -c1-7)" if [ "$prev_commit" != "$new_commit" ] then pnpm install pnpm run build:ui rc-service etherpad restart fi