Skip to content

Commit

Permalink
Add index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Feb 28, 2024
1 parent 010cd4f commit c281318
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
mdbook build -d book/$po_lang
echo "::endgroup::"
done
- name: Move to public
run: mv ./book/book public
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/book
destination_dir: book
cname: doc.veryl-lang.org
8 changes: 8 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Redirecting to https://veryl-lang.org/</title>
<meta http-equiv="refresh" content="0; URL=https://veryl-lang.org/">
<link rel="canonical" href="https://veryl-lang.org/">
</head>
</html>

0 comments on commit c281318

Please sign in to comment.