This repo contains the source for https://loganmarchione.com, built via Hugo.
This repo also builds https://loganmarchione.github.io and https://loganmarchione.dev on every PR and update to every PR.
# get a copy of the code
git clone https://github.com/loganmarchione/loganmarchione.com.git
cd loganmarchione.com
# build the Dockerfile
docker compose -f docker-compose-dev.yml up -d
# view logs
docker compose -f docker-compose-dev.yml logs -f
# destroy when done
docker compose -f docker-compose-dev.yml down
git add .
git commit -m "Update some stuff"
git push
Below is a visual representation of the GitHub Actions workflows.
graph TD
A((Start)) --> B[Create branch] & C[Commit to master]
B --> D[Commits to branch]
C --> AA["Deploy to loganmarchione.com"] & BB["Deploy to loganmarchione.github.io"]
D --> E[Pull request to master]
G --> C
E --> BB
H{Dev site looks good?} -- No --> D
BB --> CC["Deploy to loganmarchione.dev"]
CC --> H
H -- Yes --> G[Merge PR]