An open API service indexing awesome lists of open source software.

https://github.com/stuartsul/stuartsul.github.io_src

Source code for StuartSul.github.io
https://github.com/stuartsul/stuartsul.github.io_src

Last synced: 9 months ago
JSON representation

Source code for StuartSul.github.io

Awesome Lists containing this project

README

          

# StuartSul.github.io_src

Source code for `StuartSul.github.io` (`stuartsul.com`).

## Develop

Simply use the Dockerfile provided as a dev environment.

Build with the following command:

```bash
docker build -t jekyll .
```

Run the environment with the following command:

```bash
docker run --rm -p 4000:4000 -p 35729:35729 --name jekyll -v "$PWD":/app jekyll
```

The website will be accessible at `0.0.0.0:4000`.

## Deploy

Run the following command:

```bash
docker build -t jekyll .
docker run --rm --name jekyll -v "$PWD":/app jekyll /bin/bash -c "cd /app && bundle && bundle exec jekyll build"
```

The build artifact will be available at `./_site`.

## CI/CD

This repository automatically pushes the build artifacts to a separate repository through GitHub Actions. Details available at `.github/workflows/build-deploy.yaml`.