This repository has been archived by the owner on Sep 5, 2023. It is now read-only.
chore(deps): bump actions/checkout from 3 to 4 (#1014) #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/documentation.yml | |
name: Documentation | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Generate Documentation | |
uses: SwiftDocOrg/swift-doc@master | |
with: | |
inputs: Sources/ | |
module-name: OpenFoodFacts | |
output: Documentation/ | |
- name: Update Permissions | |
run: 'sudo chown --recursive $USER Documentation' | |
- name: Deploy API documentation to Github Pages | |
uses: JamesIves/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
folder: Documentation/ |