Skip to content

Commit a85b0a3

Browse files
committed
ci: share
1 parent e7784d2 commit a85b0a3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- dev
7+
- production
78
workflow_dispatch:
89

910
concurrency: ${{ github.workflow }}-${{ github.ref }}
@@ -20,6 +21,6 @@ jobs:
2021

2122
- run: bun install
2223

23-
- run: bun sst deploy --stage=dev
24+
- run: bun sst deploy --stage=${{ github.ref_name }}
2425
env:
2526
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

packages/function/src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default {
120120
return new Response(
121121
JSON.stringify({
122122
secret,
123-
url: "https://dev.opencode.ai/s/" + short,
123+
url: "https://opencode.ai/s/" + short,
124124
}),
125125
{
126126
headers: { "Content-Type": "application/json" },

packages/opencode/src/cli/cmd/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const RunCommand = cmd({
8989
await Session.share(session.id)
9090
UI.println(
9191
UI.Style.TEXT_INFO_BOLD +
92-
"~ https://dev.opencode.ai/s/" +
92+
"~ https://opencode.ai/s/" +
9393
session.id.slice(-8),
9494
)
9595
}

0 commit comments

Comments
 (0)