Skip to content

Commit

Permalink
Merge pull request #22 from ettoreciarcia/feat/hugo-blox-theme
Browse files Browse the repository at this point in the history
Feat/hugo blox theme
  • Loading branch information
ettoreciarcia authored Aug 23, 2024
2 parents f116a64 + 6555f19 commit 70ad1a6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ hugo.linux
/.hugo_build.lock

index.html

.envrc
*.draft.*
.DS_Store
23 changes: 23 additions & 0 deletions Makefile
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 .

2 changes: 1 addition & 1 deletion content/certification/terraform/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Terraform Associate 003
date: 2023-08-11
external_link: https://www.credly.com/badges/dba4f1fd-6036-4270-ba5f-09f63f88ec8e
external_link: https://www.credly.com/badges/cb0941b1-242e-4e56-9849-cad4679313a0
tags:
- Terraform
- Hashicorp
Expand Down

0 comments on commit 70ad1a6

Please sign in to comment.