File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Documentation
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ jobs :
13+ build :
14+ runs-on : macos-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - name : Select Xcode
19+ run : sudo xcode-select -s /Applications/Xcode_16.0.app/Contents/Developer
20+
21+ - name : Build Documentation
22+ run : |
23+ swift package --allow-writing-to-directory ./docs \
24+ generate-documentation --target Algorand \
25+ --disable-indexing \
26+ --transform-for-static-hosting \
27+ --hosting-base-path swift-algorand \
28+ --output-path ./docs
29+
30+ - name : Upload Pages artifact
31+ uses : actions/upload-pages-artifact@v3
32+ with :
33+ path : ./docs
34+
35+ deploy :
36+ needs : build
37+ runs-on : ubuntu-latest
38+ environment :
39+ name : github-pages
40+ url : ${{ steps.deployment.outputs.page_url }}
41+ steps :
42+ - name : Deploy to GitHub Pages
43+ id : deployment
44+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments