migrate deploy.sh to mise file task

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-08 10:19:17 +02:00
parent f29332f3dd
commit 84a48ac97b
2 changed files with 2 additions and 3 deletions

View File

@@ -1,8 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
#MISE description="Build and deploy frontend + backend to Uberspace"
set -euo pipefail set -euo pipefail
eval "$(mise activate bash)"
UBERSPACE_HOST="${UBERSPACE_HOST:-serve}" UBERSPACE_HOST="${UBERSPACE_HOST:-serve}"
REMOTE_HTML_DIR="~/www/html/whattoplay" REMOTE_HTML_DIR="~/www/html/whattoplay"
REMOTE_SERVICE_DIR="~/services/whattoplay" REMOTE_SERVICE_DIR="~/services/whattoplay"

View File

@@ -29,7 +29,7 @@ bun run dev:all # both
## Deployment ## Deployment
```bash ```bash
./deploy.sh mise run deploy
``` ```
Deploys to Uberspace (`serve.uber.space`): Deploys to Uberspace (`serve.uber.space`):