Initial release of the docmd deploy action.
Build and deploy your docmd documentation site to GitHub Pages. Zero config, auto-detects your setup.
Usage
- uses: docmd-io/deploy@v1
id: buildOr use the reusable workflow:
jobs:
docs:
uses: docmd-io/deploy/.github/workflows/deploy.yml@v1What it does
- Detects
docmd.config.jsonanywhere in the repo (including subdirectories) - Runs
npx @docmd/core initif no config is found - Installs dependencies and builds the site
- Outputs the built site path via
site-dir
First-time setup
Go to Settings → Pages → Source → GitHub Actions in your repository. One-time step.
Full documentation: https://docs.docmd.io