diff --git a/.github/workflows/deploy-gemini.yml b/.github/workflows/deploy-gemini.yml index 91064ff..a6e0b5d 100644 --- a/.github/workflows/deploy-gemini.yml +++ b/.github/workflows/deploy-gemini.yml @@ -29,8 +29,8 @@ jobs: uses: actions/checkout@v4 - name: Gempost build run: gempost build - - name: Generate https feed - run: ./generate-https-feed.sh + - name: Generate web feed + run: ./generate-web-feed.sh - name: Connect to Tailscale uses: tailscale/github-action@v2 with: diff --git a/generate-https-feed.sh b/generate-web-feed.sh similarity index 64% rename from generate-https-feed.sh rename to generate-web-feed.sh index 52979ae..ea317ed 100755 --- a/generate-https-feed.sh +++ b/generate-web-feed.sh @@ -2,7 +2,9 @@ set -eu 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 sed 's/gemini:\/\//https:\/\//g' $INFEED > $OUTFEED +# fix self url +sed -i 's/atom\.xml/atom-https\.xml/g' $OUTFEED \ No newline at end of file diff --git a/templates/index.tera b/templates/index.tera index 799ca67..75a5b16 100644 --- a/templates/index.tera +++ b/templates/index.tera @@ -15,7 +15,7 @@ ───── => {{ feed.feed_url }} [gemini feed] -=> atom-https.xml [https feed] +=> atom-web.xml [web feed] => {{ feed.capsule_url }} [home] {% if feed.rights -%}