Skip to content

aisuhua/aisuhua.github.io

Repository files navigation

aisuhua.github.io

Clone

git clone https://github.com/aisuhua/aisuhua.github.io.git
cd aisuhua.github.io

Docker

docker run --rm -u $UID -p 8080:8080 -v $PWD:/src aisuhua/mkdocs:latest mkdocs serve --dev-addr 0.0.0.0:8080

Docker Compose

Change .env file

cp .env.example .env

Run

docker-compose up

Build a new image and run

Docker

docker build -t aisuhua/aisuhua:latest .
docker run --rm -p 8080:8080 aisuhua/aisuhua:latest

Docker Compose

docker-compose -f docker-compose.prod.yaml up

Auto publish to gh-pages

.github/workflows/gh-pages.yml