.DEFAULT_GOAL := build 

.PHONY: serve build clean check push

serve: ## Run local development server with live reloading and drafts enabled
	bundle exec jekyll serve --livereload --drafts --trace

build: ## Build the production-ready static site
	JEKYLL_ENV=production bundle exec jekyll build --trace --destination /var/www/html/exemplos-compmus 

clean: ## Remove generated site and Jekyll cache files
	bundle exec jekyll clean

check: ## Check the site for configuration or deprecation issuesp
	bundle exec jekyll doctor

push:
	git push -u origin main
