Skip to content

loganmarchione/loganmarchione.com

Repository files navigation

loganmarchione.com

CI/CD (loganmarchione.com)

Overview

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.

Usage

Pre-reqs

# get a copy of the code
git clone https://github.com/loganmarchione/loganmarchione.com.git
cd loganmarchione.com

Build instructions

Docker

# 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

add, commit, push to kick off GitHub Actions

git add .
git commit -m "Update some stuff"
git push

GitHub Actions

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]
Loading

About

Contains the source for https://loganmarchione.com, built via Hugo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published