homepage/update.sh

9 lines
99 B
Bash
Executable file

#!/usr/bin/env sh
set -x -e
git checkout main
git pull
npm install
docker-compose up -d --build