pedini.dev/makefile
Bryan Joshua Pedini 911d274467
Some checks failed
Deploy website on production server when committing on main / test (push) Failing after 11s
fucking ubuntu shit outdated repos, fuck canonical
2024-08-21 23:03:26 +02:00

17 lines
243 B
Makefile

#!make
include .vars
default: build
prep:
git submodule foreach --recursive bash -c "git checkout \$$(git remote show origin | grep HEAD | sed 's/.*\: //'); git pull"
build: prep
./version.sh
deploy:
./deploy.sh
run: prep
hugo server