mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-21 08:36:00 +02:00
ci(docs-preview): Refactor workflows (#4262)
**Overview of changes:** - Runner bumped from Ubuntu 22.04 => 24.04 - Revised inline documentation for maintainers. - The output of `build-docs.sh` is now grouped in the steps action log, and now hides the noise from pulling the image via `docker run`. - Removed the separate `tar` steps with ZSTD as there is only a directory to archive with recent changes to this workflow. The `upload` + `download` actions are sufficient. - The `workflow_run` job has had the PR context restore step extracted to a separate job to minimize noise. - `actions-netlify` is still effectively the same functionality. - `github-token` is no longer configured as it doesn't appear needed with the functions disabled. - Opt-out of the GH deployments feature which is not needed.
This commit is contained in:
parent
b960efad74
commit
6b4627ceab
3 changed files with 133 additions and 92 deletions
3
.github/workflows/scripts/docs/build-docs.sh
vendored
3
.github/workflows/scripts/docs/build-docs.sh
vendored
|
@ -7,8 +7,9 @@ set -ex
|
|||
# `build --strict` ensures the build fails when any warnings are omitted.
|
||||
docker run \
|
||||
--rm \
|
||||
--quiet \
|
||||
--user "$(id -u):$(id -g)" \
|
||||
--volume "${PWD}:/docs" \
|
||||
--volume "./:/docs" \
|
||||
--name "build-docs" \
|
||||
squidfunk/mkdocs-material:9.5 build --strict
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue