Skip to content

Commit 2e94d96

Browse files
authored
chore: Deploy docs site with Vercel (#914)
1 parent dc63e49 commit 2e94d96

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -100,20 +100,10 @@ jobs:
100100
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
101101
- name: Deploy prod docs # TODO: only deploy prod docs when we publish a new version
102102
if: ${{ github.ref == 'refs/heads/main' }}
103-
uses: netlify/actions/cli@master
104-
with:
105-
args: deploy --dir=packages/docs/build --prod
106-
env:
107-
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
108-
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
103+
run: npx vercel deploy packages/docs/build -t ${{ secrets.VERCEL_TOKEN }} --name typescript --scope temporal --prod --yes
109104
- name: Deploy draft docs
110105
if: ${{ github.ref != 'refs/heads/main' }}
111-
uses: netlify/actions/cli@master
112-
with:
113-
args: deploy --dir=packages/docs/build
114-
env:
115-
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
116-
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
106+
run: npx vercel deploy packages/docs/build -t ${{ secrets.VERCEL_TOKEN }} --name typescript --scope temporal --yes
117107

118108
# Run TS linting and ts-prune to find unused code
119109
lint-and-prune:

packages/docs/docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
66
const watch = ['y', 'yes', 't', 'true', '1'].includes(process.env.TYPEDOC_WATCH);
77

88
module.exports = {
9-
title: 'Temporal Node.js SDK API Reference',
9+
title: 'Temporal TypeScript SDK API Reference',
1010
tagline: 'Build invincible applications',
11-
url: 'https://nodejs.temporal.io',
11+
url: 'https://typescript.temporal.io',
1212
baseUrl: '/',
1313
onBrokenLinks: 'throw',
1414
onBrokenMarkdownLinks: 'warn',
@@ -75,7 +75,7 @@ module.exports = {
7575
},
7676
{
7777
label: 'YouTube',
78-
href: 'https://www.youtube.com/channel/UCGovZyy8OfFPNlNV0i1fI1g',
78+
href: 'https://www.youtube.com/c/Temporalio',
7979
},
8080
{
8181
label: 'Temporal Careers',

0 commit comments

Comments
 (0)