jmc265 / jeeb-uk

Files & Code for jeeb.uk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jeeb.uk

Resources:

Github flows

Certificates

The apex domain (jeeb.uk) needs a certificate from Let's Encrypt because Azure CDN won't generate a cert for the apex domain...

The cert is created in .cloud/certificate.tf, but it is only valid for 90 days. Therefore the terraform needs to be re-applied to create a new cert (run .cloud/run.sh).

Terraform Setup

Help from: https://gmusumeci.medium.com/getting-started-with-terraform-and-microsoft-azure-a2fcb690eb67

az login
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<SUB-ID>" --name "Azure-DevOps"

Github actions

https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blobs-static-site-github-actions

az ad sp create-for-rbac --name github-static-builder --role contributor --scopes /subscriptions/c0f8603c-4a9c-495a-90cf-91033e31205f/resourceGroups/james-cx --sdk-auth

Links

About

Files & Code for jeeb.uk


Languages

Language:Nunjucks 29.2%Language:HCL 28.6%Language:JavaScript 21.8%Language:SCSS 10.9%Language:CSS 8.2%Language:Shell 1.4%