mirror of
https://github.com/jbowdre/capsule.git
synced 2024-11-22 13:12:19 +00:00
rename web feed, fix self url
This commit is contained in:
parent
131014e2cf
commit
db4799d859
3 changed files with 6 additions and 4 deletions
4
.github/workflows/deploy-gemini.yml
vendored
4
.github/workflows/deploy-gemini.yml
vendored
|
@ -29,8 +29,8 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Gempost build
|
- name: Gempost build
|
||||||
run: gempost build
|
run: gempost build
|
||||||
- name: Generate https feed
|
- name: Generate web feed
|
||||||
run: ./generate-https-feed.sh
|
run: ./generate-web-feed.sh
|
||||||
- name: Connect to Tailscale
|
- name: Connect to Tailscale
|
||||||
uses: tailscale/github-action@v2
|
uses: tailscale/github-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
INFEED="public/gemlog/atom.xml"
|
INFEED="public/gemlog/atom.xml"
|
||||||
OUTFEED="public/gemlog/atom-https.xml"
|
OUTFEED="public/gemlog/atom-web.xml"
|
||||||
|
|
||||||
# read INFILE, replace gemini:// with https:// and write to OUTFILE
|
# read INFILE, replace gemini:// with https:// and write to OUTFILE
|
||||||
sed 's/gemini:\/\//https:\/\//g' $INFEED > $OUTFEED
|
sed 's/gemini:\/\//https:\/\//g' $INFEED > $OUTFEED
|
||||||
|
# fix self url
|
||||||
|
sed -i 's/atom\.xml/atom-https\.xml/g' $OUTFEED
|
|
@ -15,7 +15,7 @@
|
||||||
─────
|
─────
|
||||||
|
|
||||||
=> {{ feed.feed_url }} [gemini feed]
|
=> {{ feed.feed_url }} [gemini feed]
|
||||||
=> atom-https.xml [https feed]
|
=> atom-web.xml [web feed]
|
||||||
=> {{ feed.capsule_url }} [home]
|
=> {{ feed.capsule_url }} [home]
|
||||||
|
|
||||||
{% if feed.rights -%}
|
{% if feed.rights -%}
|
||||||
|
|
Loading…
Reference in a new issue