actions-mn/build-and-publish
Perform metanorma site generate and upload pages artifact
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 18, 2026
- License
- MIT
Pinned Snippet
uses: actions-mn/build-and-publish@9d955afe794edddb97d560723a5e64240cf21e26 # v2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Required if destination='default'. Just pass `secrets.GITHUB_TOKEN` | — | "" |
| source-path | Source path, usually directory where configuration (manifest) file is | — | . |
| output-dir | Output directory for generated site | — | _site |
| config-file | Metanorma configuration (manifest) file | — | metanorma.yml |
| agree-to-terms | Agree / Disagree with all third-party licensing terms presented (WARNING: do know what you are agreeing with!) | — | "" |
| install-fonts | Install missing fonts | — | true |
| continue-without-fonts | Continue processing even when fonts are missing | — | true |
| use-bundler | Run in bundler | — | "" |
| strict | Enable strict mode | — | "" |
| progress | Show progress | — | "" |
| destination | What is a target of the action. At this moment `default`, `gh-pages` or `artifact` is available | — | default |
| artifact-name | Name of artifact to upload | — | github-pages |
| cache-site-for-manifest | Path to valid metanorma.yml manifest file to cache build | — | "" |
| cache-extra-input | Comma (or line) separated list of directories that affect metanorma build. All paths relative to `cache-site-for-manifest` | — | "" |
Outputs
| name | description |
|---|---|
| gh-pages-enabled | Whether GitHub Pages is enabled for the repository |
| site-path | Absolute path to the generated site directory |
| config-used | Path to the configuration file used |
| metanorma-version | Version of metanorma used for the build |
| cache-hit | Whether the build was restored from cache (true/false) |