Skip to content

Commit 317fc8a

Browse files
test docs
1 parent df4c602 commit 317fc8a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/docs.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Deploy Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- api-ref
8+
9+
jobs:
10+
build:
11+
name: Build and test
12+
runs-on: macos-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Build Docs
16+
run: |
17+
xcodebuild docbuild -scheme PowerSync -destination 'platform=macOS' -derivedDataPath ./DerivedData
18+
xcrun docc process-archive transform-for-static-hosting \
19+
./DerivedData/Build/Products/Debug/PowerSync.doccarchive \
20+
--output-path ./docs

0 commit comments

Comments
 (0)