ntno / mkdocs-demo

example MkDocs project with GitHub Action CICD

Home Page:http://factually-settled-boxer.s3-website-us-east-1.amazonaws.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mkdocs-demo

Example project for creating/deploying a MkDocs website with GitHub Actions.

live environments

integration

temporary environments are created/destroyed with pull request open/close

url: posted to the pull request for review
status:
Test Pull Request

development

url: http://factually-settled-boxer-development.s3-website-us-east-1.amazonaws.com
status:
Deploy MkDocs to Development Environment

production

url: http://factually-settled-boxer.s3-website-us-east-1.amazonaws.com
status:
Deploy MkDocs to Production Environment

local development

ex: run server with 'dev/local' site variables
make serve env=dev region=local

ex: run server with 'dev/us-east-1' site variables
make serve env=dev region=us-east-1

ex: run server with 'prod/us-east-1' site variables
make serve env=prod region=us-east-1

prerequisites

infrastructure (onetime setup)

see terraform code in infra/ for example on how to create required resources. ntno/tf-module-static-site-cicd is used to create CICD IAM roles and artifact bucket.

make ubuntu
cd infra
make plan
make apply
  • creates development and production site buckets
  • creates IAM roles to support github action workflows

About

example MkDocs project with GitHub Action CICD

http://factually-settled-boxer.s3-website-us-east-1.amazonaws.com

License:MIT License


Languages

Language:HCL 50.2%Language:Makefile 39.1%Language:Smarty 10.7%