Run publish docs action on release
- Document this change in the readme
This commit is contained in:
parent
b8872d4098
commit
a0f6e16958
2 changed files with 12 additions and 8 deletions
3
.github/workflows/publish-docs.yml
vendored
3
.github/workflows/publish-docs.yml
vendored
|
@ -1,6 +1,9 @@
|
|||
name: Publish docs
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ref:
|
||||
|
|
|
@ -69,12 +69,13 @@ when hacking on the site generator itself.
|
|||
|
||||
## Deployment
|
||||
|
||||
The documentation is automatically built
|
||||
and uploaded to GitHub pages
|
||||
on every commit to `master`.
|
||||
The documentation is built
|
||||
and uploaded to GitHub Pages
|
||||
using [GitHub Actions][config].
|
||||
|
||||
However,
|
||||
if you wish to deploy the docs manually,
|
||||
then you can do that by running `./deploy.sh`.
|
||||
You will need push access to the Maud repository
|
||||
to do this.
|
||||
The workflow is run automatically on a new release.
|
||||
For changes not tied to a release (e.g. typo fixes),
|
||||
a maintainer can trigger it manually –
|
||||
please ask if you'd like this.
|
||||
|
||||
[config]: ../.github/workflows/publish-docs.yml
|
||||
|
|
Loading…
Add table
Reference in a new issue