From 10e8fdce8ec651d33e60392aa456e1ddedf9266e Mon Sep 17 00:00:00 2001 From: jbowdre Date: Sat, 13 Apr 2024 21:37:51 +0000 Subject: [PATCH] convert Markdown post to Gempost --- gemlog/echofeed-integration-test.gmi | 15 +++++++++++++++ gemlog/echofeed-integration-test.yaml | 1 + .../{incoming => }/echofeed-integration-test.md | 0 3 files changed, 16 insertions(+) create mode 100644 gemlog/echofeed-integration-test.gmi create mode 100644 gemlog/echofeed-integration-test.yaml rename markdown/{incoming => }/echofeed-integration-test.md (100%) diff --git a/gemlog/echofeed-integration-test.gmi b/gemlog/echofeed-integration-test.gmi new file mode 100644 index 0000000..30d1830 --- /dev/null +++ b/gemlog/echofeed-integration-test.gmi @@ -0,0 +1,15 @@ +This is a quick post to see if this absolute nonsense[1] I have cobbled together actually works. If it works: + +=> https://github.com/jbowdre/capsule/blob/main/.github/workflows/markdown2gempost.yml 1: absolute nonsense + +- 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. + diff --git a/gemlog/echofeed-integration-test.yaml b/gemlog/echofeed-integration-test.yaml new file mode 100644 index 0000000..8bd4468 --- /dev/null +++ b/gemlog/echofeed-integration-test.yaml @@ -0,0 +1 @@ +id: "urn:uuid:e7d45ace-5b60-485b-a7a0-3fd413d81e5c" diff --git a/markdown/incoming/echofeed-integration-test.md b/markdown/echofeed-integration-test.md similarity index 100% rename from markdown/incoming/echofeed-integration-test.md rename to markdown/echofeed-integration-test.md