GitHub Action
Ghost Post
1.0.0
Latest version
GitHub Action for publishing HTML to a Ghost instance
- uses: DiscordDungeons/[email protected]
with:
post_title: 'New update!'
post_html: '<p>Content</p>'
post_excerpt: 'Optional Excerpt'
post_tags: 'Tag 1,Tag 2'
ghost_url: ${{ secrets.GHOST_URL }}
ghost_admin_key: ${{ secrets.GHOST_ADMIN_KEY }}
This example will send the HTML <p>Content</p>
to the GHOST_URL
parameter, as a draft.
Required The title that the post will have
Required The HTML content of the post
Optional An optional custom excerpt
Optional A list of tags, seperated by a comma (,
)
Required The URL of the Ghost instance the post will be published to
Required The admin key of your integration. For information about generating this, please refer to here