make all links work by catching 404

This commit is contained in:
Aria Moradi
2022-02-21 08:29:47 +03:30
parent daab8ab7a5
commit 20b0e66093

View File

@@ -94,6 +94,7 @@ jobs:
rm -rf gh-pages/* rm -rf gh-pages/*
cp -r master/build/* gh-pages cp -r master/build/* gh-pages
cd gh-pages cd gh-pages
cp index.html 404.html
git add -A git add -A
git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]" git config --global user.name "github-actions[bot]"