Skip to content

Commit a0554cf

Browse files
authored
Merge pull request #786 from CodingCatDev/dev
Release: native multi-calendar booking & 1-click Deal Room scheduling
2 parents bc99b18 + 5840d41 commit a0554cf

12 files changed

Lines changed: 978 additions & 257 deletions

File tree

‎.github/workflows/deploy-workers.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ jobs:
6666
if [ -n "$GUEST_PORTAL_SECRET" ]; then
6767
echo "$GUEST_PORTAL_SECRET" | pnpm --filter @codingcatdev/site exec wrangler secret put GUEST_PORTAL_SECRET --env=""
6868
fi
69+
if [ -n "$GOOGLE_CLIENT_ID" ]; then
70+
echo "$GOOGLE_CLIENT_ID" | pnpm --filter @codingcatdev/site exec wrangler secret put GOOGLE_CLIENT_ID --env=""
71+
fi
72+
if [ -n "$GOOGLE_CLIENT_SECRET" ]; then
73+
echo "$GOOGLE_CLIENT_SECRET" | pnpm --filter @codingcatdev/site exec wrangler secret put GOOGLE_CLIENT_SECRET --env=""
74+
fi
75+
if [ -n "$GOOGLE_REFRESH_TOKEN" ]; then
76+
echo "$GOOGLE_REFRESH_TOKEN" | pnpm --filter @codingcatdev/site exec wrangler secret put GOOGLE_REFRESH_TOKEN --env=""
77+
fi
6978
env:
7079
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
7180
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
@@ -75,6 +84,9 @@ jobs:
7584
SANITY_CONTEXT_TOKEN: ${{ secrets.SANITY_CONTEXT_TOKEN }}
7685
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
7786
GUEST_PORTAL_SECRET: ${{ secrets.GUEST_PORTAL_SECRET }}
87+
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
88+
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
89+
GOOGLE_REFRESH_TOKEN: ${{ secrets.GOOGLE_REFRESH_TOKEN }}
7890

7991
deploy-production:
8092
if: github.ref == 'refs/heads/main'
@@ -128,6 +140,15 @@ jobs:
128140
if [ -n "$GUEST_PORTAL_SECRET" ]; then
129141
echo "$GUEST_PORTAL_SECRET" | pnpm --filter @codingcatdev/site exec wrangler secret put GUEST_PORTAL_SECRET --env production
130142
fi
143+
if [ -n "$GOOGLE_CLIENT_ID" ]; then
144+
echo "$GOOGLE_CLIENT_ID" | pnpm --filter @codingcatdev/site exec wrangler secret put GOOGLE_CLIENT_ID --env production
145+
fi
146+
if [ -n "$GOOGLE_CLIENT_SECRET" ]; then
147+
echo "$GOOGLE_CLIENT_SECRET" | pnpm --filter @codingcatdev/site exec wrangler secret put GOOGLE_CLIENT_SECRET --env production
148+
fi
149+
if [ -n "$GOOGLE_REFRESH_TOKEN" ]; then
150+
echo "$GOOGLE_REFRESH_TOKEN" | pnpm --filter @codingcatdev/site exec wrangler secret put GOOGLE_REFRESH_TOKEN --env production
151+
fi
131152
env:
132153
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
133154
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
@@ -137,3 +158,6 @@ jobs:
137158
SANITY_CONTEXT_TOKEN: ${{ secrets.SANITY_CONTEXT_TOKEN }}
138159
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
139160
GUEST_PORTAL_SECRET: ${{ secrets.GUEST_PORTAL_SECRET }}
161+
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
162+
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
163+
GOOGLE_REFRESH_TOKEN: ${{ secrets.GOOGLE_REFRESH_TOKEN }}

‎apps/ops/src/App.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,20 +286,20 @@ export function App() {
286286
</p>
287287
<div style={{ display: "flex", gap: 12, marginTop: 16 }}>
288288
<a
289-
href="https://calendar.app.google/s3B6PEqbVsGcY81MA"
289+
href="https://codingcat.dev/book"
290290
target="_blank"
291291
rel="noreferrer"
292292
style={{ padding: "10px 16px", background: "#111", color: "#fff", borderRadius: 8, textDecoration: "none", fontSize: 13, fontWeight: 600 }}
293293
>
294-
Open Podcast Recording Schedule &nearr;
294+
Open Podcast Recording Booking &nearr;
295295
</a>
296296
<a
297-
href="https://calendar.app.google/tyGiF6dGFQeaVrN66"
297+
href="https://codingcat.dev/sponsorships#sponsorship-form"
298298
target="_blank"
299299
rel="noreferrer"
300300
style={{ padding: "10px 16px", border: "1px solid #ccc", color: "#111", borderRadius: 8, textDecoration: "none", fontSize: 13, fontWeight: 600 }}
301301
>
302-
Open Sponsor Discovery Schedule &nearr;
302+
Open Sponsor Discovery &amp; Deal Room &nearr;
303303
</a>
304304
</div>
305305
</section>

‎apps/sanity/schemas/documents/booking.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ export default defineType({
7171
}),
7272
defineField({
7373
name: 'appointmentScheduleUrl',
74-
title: 'Google Calendar Appointment Schedule Link',
74+
title: 'Google Calendar Event / Booking Link',
7575
type: 'url',
76-
initialValue: 'https://calendar.app.google/s3B6PEqbVsGcY81MA',
76+
initialValue: 'https://codingcat.dev/book',
7777
}),
7878
defineField({
7979
name: 'googleCalendarEventId',

‎apps/sanity/schemas/singletons/sponsorConfig.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default defineType({
9696
type: "text",
9797
description: "Template for automated sponsor outreach emails. Use {{companyName}} for personalization",
9898
initialValue:
99-
"Hi {{contactName}},\n\nSaw {{companyName}}'s recent momentum and put together two concrete technical video concepts we could build and distribute across CodingCat.dev (61K+ YouTube subscribers, 7-platform Shorts syndication, and canonical AEO blog posts).\n\n{{videoConcepts}}\n\nWould you be open to a quick 15-minute chat this week? You can grab a time directly here: https://calendar.app.google/tyGiF6dGFQeaVrN66\n\nBest,\nAlex Patterson\nFounder, CodingCat.dev",
99+
"Hi {{contactName}},\n\nSaw {{companyName}}'s recent momentum and put together two concrete technical video concepts we could build and distribute across CodingCat.dev (61K+ YouTube subscribers, 7-platform Shorts syndication, and canonical AEO blog posts).\n\n{{videoConcepts}}\n\nWould you be open to a quick 15-minute chat this week? You can grab a live time slot directly here: https://codingcat.dev/sponsorships#sponsorship-form\n\nBest,\nAlex Patterson\nFounder, CodingCat.dev",
100100
}),
101101
defineField({
102102
name: "maxOutreachPerRun",

0 commit comments

Comments
 (0)