You've already forked pedini.dev
Some checks failed
Deploy website on production server when committing on main / test (push) Failing after 12s
- Update .vars to properly export deployment configuration variables - Modify deploy.sh to conditionally source .vars only in interactive mode - Remove include directive from makefile to prevent automatic variable loading - Enhance deployment script reliability by ensuring proper environment setup
16 lines
261 B
Makefile
16 lines
261 B
Makefile
#!make
|
|
|
|
default: build
|
|
|
|
prep:
|
|
git submodule foreach --recursive bash -c "git checkout \$$(git remote show origin | grep HEAD | sed 's/.*\: //'); git pull"
|
|
|
|
build: prep
|
|
/usr/bin/env bash version.sh
|
|
|
|
deploy:
|
|
/usr/bin/env bash deploy.sh
|
|
|
|
run: prep
|
|
hugo server
|