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 1465456 commit 8dfaa14Copy full SHA for 8dfaa14
.github/workflows/documentation.yml
@@ -0,0 +1,28 @@
1
+# .github/workflows/documentation.yml
2
+name: Documentation
3
+
4
+on:
5
+ push:
6
+ branches:
7
+ - '*'
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - name: Generate Documentation
16
+ uses: SwiftDocOrg/swift-doc@master
17
+ with:
18
+ inputs: Sources/
19
+ module-name: OpenFoodFacts
20
+ output: Documentation/
21
+ - name: Update Permissions
22
+ run: 'sudo chown --recursive $USER Documentation'
23
+ - name: Deploy API documentation to Github Pages
24
+ uses: JamesIves/github-pages-deploy-action@v4.4.3
25
26
+ token: ${{ secrets.GITHUB_TOKEN }}
27
+ branch: gh-pages
28
+ folder: Documentation/
0 commit comments