-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from ettoreciarcia/feat/hugo-blox-theme
Feat/hugo blox theme
- Loading branch information
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,6 @@ hugo.linux | |
/.hugo_build.lock | ||
|
||
index.html | ||
|
||
.envrc | ||
*.draft.* | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.PHONY: build | ||
build: | ||
@echo "Building site..." | ||
hugo --minify | ||
|
||
.PHONY: deploy-dev | ||
deploy-dev: | ||
@echo "Deploying to development..." | ||
hugo --minify --baseURL=$(DEPLOY_DEV_URL) && \ | ||
aws s3 sync --delete public/ s3://$(DEPLOY_DEV_BUCKET) | ||
|
||
.PHONY: deploy-prod | ||
deploy-prod: | ||
@echo "Deploying to production..." | ||
hugo --minify --baseURL=$(DEPLOY_PROD_URL) && \ | ||
aws s3 sync --delete public/ s3://$(DEPLOY_PROD_BUCKET) && \ | ||
aws cloudfront create-invalidation --distribution-id $DISTRIBUTION_ID --paths "/*" | ||
|
||
.PHONY: build-docker | ||
build-docker: | ||
@echo "Building docker image..." | ||
docker buildx build --load -t hecha00/hugo-blox:1.0 . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters