hashnode/Publish to Hashnode
Publish markdown files from your repository to a Hashnode publication. Requires a publication on Hashnode Pro.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| access-token | Hashnode Personal Access Token. Generate one in Settings > Developer, store it as a repository secret. | yes | — |
| publication-id | Target publication id. Provide this or publication-host. | no | — |
| publication-host | Target publication host, e.g. myblog.hashnode.dev. Provide this or publication-id. | no | — |
| posts-directory | Directory containing the markdown posts, relative to the repository root. | no | . |
| gql-endpoint | Hashnode GraphQL endpoint. | no | https://gql-beta.hashnode.com |
| dry-run | Parse, validate and report without publishing anything. | no | false |
| max-files | Maximum number of markdown files processed per run. | no | 10 |
Outputs
| name | description |
|---|---|
| result | JSON summary of the run: published, updated, drafted, skipped and errored files. |
| result_summary | One-line human readable summary. |