Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Redirect to tuist.dev (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepicrft authored Nov 7, 2024
1 parent 3d95929 commit d5ad646
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .mise/tasks/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@

set -euo pipefail

pnpm run -C $MISE_PROJECT_ROOT deploy
pnpm -C $MISE_PROJECT_ROOT exec astro build
cat <<EOT > $MISE_PROJECT_ROOT/dist/_redirects
https://tuist.io/* https://tuist.dev/:splat 301
http://tuist.io/* http://tuist.dev/:splat 301
EOT
pnpm -C $MISE_PROJECT_ROOT wrangler pages deploy dist --project-name tuist-website --branch main
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"scripts": {
"dev": "astro dev",
"build": "astro build",
"astro": "astro",
"deploy": "astro build && wrangler pages deploy dist --project-name tuist-website --branch main"
"astro": "astro"
},
"devDependencies": {
"@astrojs/tailwind": "^5.0.0",
Expand Down

0 comments on commit d5ad646

Please sign in to comment.