Skip to content

Commit

Permalink
ci: Migrate to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewscwei committed Sep 19, 2024
1 parent b339cb5 commit 2dbd9c8
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CD
on:
push:
branches: [master]
tags-ignore: ['v*']
tags-ignore: ["v*"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -20,6 +20,7 @@ jobs:
- name: Deploy to GitHub pages
uses: andrewscwei/actions/gh-pages-deploy@v2
with:
cname: ${{ vars.CNAME }}
deploy-path: build
notify:
name: Notify
Expand Down
23 changes: 23 additions & 0 deletions src/static/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en" style="width:100%;height:100%;background:#222;">
<head>
<meta charset="UTF-8">
<!-- <meta http-equiv="refresh" content="0;url=/"> -->
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,viewport-fit=cover">
<title>404</title>
</head>
<body style="display:flex;flex-direction:column;width:100%;height:100%;justify-content:center;align-items:center;margin:0;padding:0;color:#666;">
<h1 style="display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;font-family:monospace;white-space:pre;">
<span>⢀⣴⣶⣶⡄⠀⢀⣴⣶⣶⣄⠀⠀⣤⣶⣶⣤⠀⠀⠀⠀⠀⠀⠀⠀⢠⣶⣶⣦⡀</span>
<span>⢺⣿⣿⣿⣿⠀⢸⣿⣿⣿⣿⠀⠸⣿⣿⣿⣿⠇⠀⠀⠀⠀⠀⠀⠀⢿⣿⣿⣿⡿</span>
<span>⠈⠙⠻⠛⠁⠀⠀⠙⠛⠛⠁⠀⠀⠙⠛⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀⠈⠛⠟⠛⠁</span>
<span>⢀⣤⣶⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣶⣶⣄⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣶⣤⡀</span>
<span>⢺⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠰⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⡷</span>
<span>⠈⠛⠿⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⠿⠛⠁</span>
<span>⢀⣠⣤⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣤⣄⠀⠀⢀⣤⣤⣄⠀⠀⢀⣤⣤⣤⡀</span>
<span>⢼⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⢰⣿⣿⣿⣿⡆⠀⣿⣿⣿⣿⡇⠀⣾⣿⣿⣿⣷</span>
<span>⠈⠻⠿⠿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠛⠿⠿⠛⠀⠀⠙⠿⠿⠟⠁⠀⠘⠻⠿⠟⠃</span>
</h1>
<p style="margin-top:24px;line-height:24px;font-size:12px;max-width:80%;font-family:monospace;text-align:center;">If you're not redirected automatically, <a href="/" style="color:#666">click here</a>.</p>
</body>
</html>
4 changes: 0 additions & 4 deletions src/static/_redirects

This file was deleted.

0 comments on commit 2dbd9c8

Please sign in to comment.