Skip to content

Commit fb1305e

Browse files
authored
Add CI job for docs site (#212)
Fixes #211
1 parent 2115ff7 commit fb1305e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
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

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ execute asynchronous, long-running business logic in a scalable and resilient wa
1111

1212
Also see:
1313

14+
* [Ruby SDK](https://github.com/temporalio/sdk-ruby)
1415
* [Ruby Samples](https://github.com/temporalio/samples-ruby)
15-
* [API Documentation](https://rubydoc.info/gems/temporalio/0.2.0)
16+
* [API Documentation](https://ruby.temporal.io)
1617

1718
⚠️ UNDER ACTIVE DEVELOPMENT
1819

0 commit comments

Comments
 (0)