From f9d431e34df0ece9cfd0390da0e669d74cc7b2f0 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Sun, 17 Dec 2023 12:37:39 +0100 Subject: [PATCH] fix: add proper redirect from old atom.xml --- .github/workflows/gh-pages.yml | 2 +- mkdocs/static/rss_redirect.xml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 mkdocs/static/rss_redirect.xml diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6f1ff47..302f44b 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -60,7 +60,7 @@ jobs: - run: mkdocs build # maintain backwards compatibility from previous RSS feed - - run: cp site/feed_rss_created.xml site/atom.xml + - run: cp site/static/rss_redirect.xml site/atom.xml - name: Setup Pages if: github.event_name != 'pull_request' diff --git a/mkdocs/static/rss_redirect.xml b/mkdocs/static/rss_redirect.xml new file mode 100644 index 0000000..86f6147 --- /dev/null +++ b/mkdocs/static/rss_redirect.xml @@ -0,0 +1,5 @@ + + + http://fredrikaverpil.github.io/feed + +