Skip to content
Merged
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 src/components/deploy/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const PROVIDER_INFO: Record<DeployProvider, ProviderInfo> = {
name: 'Render',
color: '#46E3B7',
deployUrl: (owner, repo) => {
const url = new URL('https://render.com/deploy')
const url = new URL('https://render.com/tanstack')

url.searchParams.set('repo', `https://github.com/${owner}/${repo}`)
url.searchParams.set('utm_source', 'tanstack')
Expand Down
6 changes: 3 additions & 3 deletions src/utils/partners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@ const railway = ((): Partner => {

const render = ((): Partner => {
const href =
'https://render.com?utm_source=tanstack&utm_medium=referral&utm_campaign=gold-launch'
'https://render.com/tanstack?utm_source=tanstack&utm_medium=referral&utm_campaign=gold-launch'

return {
name: 'Render',
Expand All @@ -1516,7 +1516,7 @@ const render = ((): Partner => {
tier: 'gold',
uniqueConstraints: ['hosting'],
href,
canonicalHref: 'https://render.com/',
canonicalHref: 'https://render.com/tanstack',
resources: [
{
kind: 'announcement',
Expand Down Expand Up @@ -2220,5 +2220,5 @@ export function getPartnerHref(
return partner.href
}

return `https://render.com/?utm_source=tanstack&utm_medium=referral&utm_campaign=gold-launch&utm_content=${utmContent}`
return `https://render.com/tanstack?utm_source=tanstack&utm_medium=referral&utm_campaign=gold-launch&utm_content=${utmContent}`
}
2 changes: 1 addition & 1 deletion src/utils/start-hosting-guide.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ services:
value: 0.0.0.0
\`\`\`

Push the repository to GitHub, GitLab, or Bitbucket, then choose **New > Blueprint** in [Render](https://dashboard.render.com/select-repo?type=blueprint&utm_source=tanstack&utm_medium=referral&utm_campaign=gold-launch). Render supplies \`PORT\`, and Nitro reads it at runtime. Add secret environment values in the Render Dashboard instead of committing them to \`render.yaml\`.
Push the repository to GitHub, GitLab, or Bitbucket, then choose **New > Blueprint** in [Render](https://render.com/tanstack?utm_source=tanstack&utm_medium=referral&utm_campaign=gold-launch). Render supplies \`PORT\`, and Nitro reads it at runtime. Add secret environment values in the Render Dashboard instead of committing them to \`render.yaml\`.

See Render's [Blueprint documentation](https://render.com/docs/infrastructure-as-code) and [environment variable documentation](https://render.com/docs/configure-environment-variables) for more configuration options.`,
isOfficialPartner: true,
Expand Down
4 changes: 2 additions & 2 deletions tests/deploy-provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import assert from 'node:assert/strict'
import test from 'node:test'
import { PROVIDER_INFO } from '../src/components/deploy/shared'

test('Render deployment opens the repository as a Blueprint', () => {
test('Render deployment opens the TanStack partner landing page', () => {
const url = new URL(PROVIDER_INFO.render.deployUrl('tanstack', 'books'))

assert.equal(url.origin, 'https://render.com')
assert.equal(url.pathname, '/deploy')
assert.equal(url.pathname, '/tanstack')
assert.equal(
url.searchParams.get('repo'),
'https://github.com/tanstack/books',
Expand Down
Loading