convert Markdown post to Gempost

This commit is contained in:
jbowdre 2024-04-13 23:35:04 +00:00 committed by github-actions[bot]
parent b647d5a86a
commit 7253b83d76
3 changed files with 29 additions and 8 deletions

View file

@ -0,0 +1,17 @@
This is a quick post to see if this absolute nonsense[1] I have cobbled together actually works.
=> https://github.com/jbowdre/capsule/blob/main/.github/workflows/markdown2gempost.yml 1: absolute nonsense
If it works:
- EchoFeed[1] will see this post in my Scribbles RSS feed, and relay it to my GitHub repo as a Markdown file.
=> https://echofeed.app/ 1: EchoFeed
- My new GitHub Actions workflow will see the new Markdown file, use a script and md2gmi[1] in a Docker container to convert the Markdown to Gemtext along with a YAML metadata sidecar for gempost, and store the results in the repo.
- The existing workflow will see the new gemtext post and use gempost[2] to (re)build the site, and then deploy it to my virtual server where it will be made available within Geminispace.
=> https://github.com/n0x1m/md2gmi 1: md2gmi
=> https://github.com/justlark/gempost 2: gempost
I really hope this works.

View file

@ -0,0 +1,4 @@
id: "urn:uuid:de84e442-6798-4421-b1ed-21683e1386a6"
title: "Another Echofeed Test"
published: "2024-04-13T23:32:47.000000Z"
updated: "2024-04-13T23:32:47.000000Z"

View file

@ -1,11 +1,11 @@
--- ---
title: "Another Echofeed Test" title: "Another Echofeed Test"
published: "2024-04-13T23:32:47.000000Z" published: "2024-04-13T23:32:47.000000Z"
updated: "2024-04-13T23:32:47.000000Z" updated: "2024-04-13T23:32:47.000000Z"
--- ---
This is a quick post to see if this [absolute nonsense](https://github.com/jbowdre/capsule/blob/main/.github/workflows/markdown2gempost.yml) I have cobbled together actually works. This is a quick post to see if this [absolute nonsense](https://github.com/jbowdre/capsule/blob/main/.github/workflows/markdown2gempost.yml) I have cobbled together actually works.
If it works: If it works:
- [EchoFeed](https://echofeed.app/) will see this post in my Scribbles RSS feed, and relay it to my GitHub repo as a Markdown file. - [EchoFeed](https://echofeed.app/) will see this post in my Scribbles RSS feed, and relay it to my GitHub repo as a Markdown file.