Bryan Joshua Pedini
911d274467
Some checks failed
Deploy website on production server when committing on main / test (push) Failing after 11s
17 lines
243 B
Makefile
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
|