File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ name: Deploy Docs
33on :
44 push :
55
6+ permissions :
7+ contents : read
8+ pages : write
9+ id-token : write
10+
611jobs :
712 build :
813 name : Build and test
2227 run : |
2328 xcrun docc process-archive transform-for-static-hosting ./DerivedData/Build/Products/Debug/PowerSync.doccarchive/ --output-path ./docs
2429
25- - name : Debug
26- run : |
27- 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+ id : deployment
46+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments