Skip to content

Commit

Permalink
Update README.md (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmccoll committed Jun 12, 2023
1 parent 32a8e7c commit 8a07b19
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
@@ -1,5 +1,7 @@
# README.md

[![Run WebsiteArchiver](https://github.com/stuartmccoll/stuartmccoll.github.io/actions/workflows/archival.yml/badge.svg)](https://github.com/stuartmccoll/stuartmccoll.github.io/actions/workflows/archival.yml) [![Validate Bicep files](https://github.com/stuartmccoll/stuartmccoll.github.io/actions/workflows/bicep.yml/badge.svg)](https://github.com/stuartmccoll/stuartmccoll.github.io/actions/workflows/bicep.yml) [![Deploy to GitHub Pages](https://github.com/stuartmccoll/stuartmccoll.github.io/actions/workflows/gh-pages.yml/badge.svg)](https://github.com/stuartmccoll/stuartmccoll.github.io/actions/workflows/gh-pages.yml)

This repository contains both the source and build files for my personal
website, which is hosted via GitHub Pages and accessible at
[https://stuartmccoll.github.io/](https://stuartmccoll.github.io/).
Expand Down Expand Up @@ -50,6 +52,34 @@ Upon merge of a pull request into the `main` branch, the GitHub Action
will update the `gh-pages` branch with the latest build of the static files.
This branch is then served via GitHub Pages.

## GitHub Actions

### Website Archiver

Previous versions of the website are archived by triggering an instance of
the [website-archiver](https://github.com/stuartmccoll/website-archiver)
running in Azure.

For this workflow to run successfully, the following repository secrets
must be configured:

* `AZURE_BLOB_STORAGE_CONNECTION_STRING`
* `AZURE_CONTAINER_REGISTRY_LOGIN_SERVER`
* `AZURE_CONTAINER_REGISTRY_PASSWORD`
* `AZURE_CONTAINER_REGISTRY_USERNAME`
* `AZURE_CREDENTIALS`

The `AZURE_CREDENTIALS` value should be in the following format:

```json
{
"clientId":"${{ Azure App Registration Client ID }}",
"clientSecret":"${{ Azure App Registration Client Secret }}",
"subscriptionId":"${{ Azure Subscription ID }}",
"tenantId":"${{ Azure Tenant ID }}"
}
```

## GitHub Codespaces

This repository contains all of the necessary configuration to run in a GitHub
Expand Down

0 comments on commit 8a07b19

Please sign in to comment.