Skip to content

Commit 6ecb483

Browse files
committed
Add CI job for docs site
Fixes #211
1 parent 2115ff7 commit 6ecb483

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- os: ubuntu-latest
2525
rubyVersion: "3.4"
2626
checkTarget: true
27+
docsTarget: true
2728
runs-on: ${{ matrix.os }}
2829
steps:
2930
- name: Checkout repository
@@ -88,3 +89,11 @@ jobs:
8889
TEMPORAL_CLOUD_OPS_TEST_API_KEY: ${{ secrets.TEMPORAL_CLIENT_CLOUD_API_KEY }}
8990
TEMPORAL_CLOUD_OPS_TEST_API_VERSION: 2024-05-13-00
9091
run: bundle exec rake TESTOPTS="--verbose"
92+
93+
- name: Deploy docs
94+
# Only deploy on main merge, not in PRs
95+
# if: ${{ github.ref == 'refs/heads/main' && matrix.docsTarget }}
96+
env:
97+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
98+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
99+
run: npx vercel deploy temporalio/doc --token ${{ secrets.VERCEL_TOKEN }} --prod --yes

0 commit comments

Comments
 (0)