Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# check runs against the production alias the deploy just promoted.
base="https://compiled.run"
sleep 10
for p in / /oxc-tsrx /guessless /yuku-tsrx; do
for p in / /markless /oxc-tsrx /guessless /yuku-tsrx; do
code="$(curl -s -o /dev/null -w '%{http_code}' "${base}${p}")"
echo "${code} ${p}"
[ "${code}" = "200" ] || { echo "::error::${p} returned ${code}"; exit 1; }
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ own Vercel project and adds one rewrite pair to `vercel.json` in this repo.

| Path | Proxied from |
| --- | --- |
| `/markless` | `https://markless-docs.vercel.app/markless` |
| `/oxc-tsrx` | `https://oxc-tsrx-docs.vercel.app/oxc-tsrx` |
| `/guessless` | `https://guessless-docs.vercel.app/guessless` |
| `/yuku-tsrx` | `https://yuku-tsrx-docs.vercel.app/yuku-tsrx` |
Expand Down Expand Up @@ -39,7 +40,7 @@ Merging to `main` deploys to production.

`.github/workflows/deploy.yml` runs on every push to `main` and on manual
dispatch. It deploys this directory as a static site with `vercel@57.0.0` and
then checks that `/`, `/oxc-tsrx`, `/guessless`, and `/yuku-tsrx` return 200 on
then checks that `/`, `/markless`, `/oxc-tsrx`, `/guessless`, and `/yuku-tsrx` return 200 on
`https://compiled.run`.

It needs one repository secret, `VERCEL_TOKEN` (a Vercel token with access to
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<main>
<h1>compiled.run</h1>
<nav>
<a href="/markless">Markless &rarr;</a>
<a href="/oxc-tsrx">OXC for TSRX &rarr;</a>
<a href="/guessless">Guessless &rarr;</a>
<a href="/yuku-tsrx">yuku-tsrx &rarr;</a>
Expand Down
4 changes: 3 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
{ "source": "/guessless", "destination": "https://guessless-docs.vercel.app/guessless" },
{ "source": "/guessless/:path*", "destination": "https://guessless-docs.vercel.app/guessless/:path*" },
{ "source": "/yuku-tsrx", "destination": "https://yuku-tsrx-docs.vercel.app/yuku-tsrx" },
{ "source": "/yuku-tsrx/:path*", "destination": "https://yuku-tsrx-docs.vercel.app/yuku-tsrx/:path*" }
{ "source": "/yuku-tsrx/:path*", "destination": "https://yuku-tsrx-docs.vercel.app/yuku-tsrx/:path*" },
{ "source": "/markless", "destination": "https://markless-docs.vercel.app/markless" },
{ "source": "/markless/:path*", "destination": "https://markless-docs.vercel.app/markless/:path*" }
],
"headers": [
{
Expand Down