Files
pedini.dev/makefile
Bryan Joshua Pedini 2f2c60126c
Some checks failed
Deploy website on production server when committing on main / test (push) Failing after 12s
feat(deploy): improve environment variable handling and deployment workflow
- 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
2026-02-01 19:24:37 +01:00

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