We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0004ded commit ab73a7bCopy full SHA for ab73a7b
.github/workflows/docs.yaml
@@ -3,6 +3,11 @@ name: Deploy Docs
3
on:
4
push:
5
6
+permissions:
7
+ contents: read
8
+ pages: write
9
+ id-token: write
10
+
11
jobs:
12
build:
13
name: Build and test
@@ -22,6 +27,20 @@ jobs:
22
27
run: |
23
28
xcrun docc process-archive transform-for-static-hosting ./DerivedData/Build/Products/Debug/PowerSync.doccarchive/ --output-path ./docs
24
29
25
- - name: Debug
26
- run: |
- ls -la ./docs
30
+ - name: Upload static files as artifact
31
+ id: deployment
32
+ uses: actions/upload-pages-artifact@v3
33
+ with:
34
+ path: docs/documentation/PowerSync
35
36
+ # Deployment job
37
+ deploy:
38
+ environment:
39
+ name: github-pages
40
+ url: ${{ steps.deployment.outputs.page_url }}
41
+ runs-on: ubuntu-latest
42
+ needs: build
43
+ steps:
44
+ - name: Deploy to GitHub Pages
45
46
+ uses: actions/deploy-pages@v4
0 commit comments