Skip to content

Commit

Permalink
Amend Makefile
Browse files Browse the repository at this point in the history
Added descriptions for each makefile option to increase visibility.
Added platform flag to docker run to enable M* chip compatability.
ND-171
  • Loading branch information
laurentb4 committed Mar 20, 2024
1 parent 0daed9b commit c111e05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
.DEFAULT_GOAL := help
IMAGE := ministryofjustice/tech-docs-github-pages-publisher:v4.0.0

.PHONY: preview report

.PHONY: preview
preview: ## Run a local instance of the documentation site, while editing
docker run --rm \
docker run --platform=linux/amd64 --rm \
-v $$(pwd)/config:/app/config \
-v $$(pwd)/source:/app/source \
-v $$(pwd)/scripts:/scripts \
-p 4567:4567 \
-it $(IMAGE) /scripts/preview.sh

.PHONY: report
report: ## Review which pages have expired
./report-for-daniel-the-manual-spaniel.sh

Expand Down

0 comments on commit c111e05

Please sign in to comment.