Add matrix homeserver files

This commit is contained in:
Awiteb 2024-04-13 16:01:03 +03:00
parent 8293872083
commit ac64f0f197
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -9,6 +9,13 @@ OUT_DIR := "public"
git init . git init .
git checkout -B gh-pages git checkout -B gh-pages
touch .nojekyll touch .nojekyll
# Create matrix homeserver files
# Remove it or change it to your server
mkdir -p .well-known/matrix/
echo '{"m.homeserver": {"base_url": "https://matrix.4rs.nl}}' > .well-known/matrix/client
echo '{"m.server": "matrix.4rs.nl:443"}' > .well-known/matrix/server
git add . git add .
git commit -m "Deploy blog to github pages" git commit -m "Deploy blog to github pages"
git remote add origin $(git --git-dir ../.git remote get-url github) git remote add origin $(git --git-dir ../.git remote get-url github)