Now, there is only one action called “Commit Post”. When invoked, it requests a GitLab’s token for authentication and the following required fields:
Content: the post content. It can be a canvas type column Title: the post’s main title Date: the post’s publishing date Category: the post’s category Author: the author’s name or nickname Project: the project ID in GitLab. It can be found in the project's details page Branch: the project branch name With this information, the action will assemble a Markdown file containing a front matter section along with the post content. The file includes the following front matter variables:
Layout: post (fixed value) To commit the file, the action uses the project, branch and author information.
The post path will be assembled as:
"_posts/[DATE]-[NAME_WITH_SPACES_REPLACED_BY_HYPHEN].md"
And the commit message will be assembled as:
"Post - [POST_TITLE] - [POST_DATE] - From Coda"