name: Documentation on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Generate Documentation uses: SwiftDocOrg/swift-doc@master with: inputs: "Sources/ClampedPropertyWrapper" module-name: ClampedPropertyWrapper format: html output: "Documentation" # Fix for https://github.com/SwiftDocOrg/swift-doc/issues/83#issuecomment-692299268 - name: Update Permissions run: 'sudo chown --recursive $USER Documentation' - name: Publish documentation to GitHub Pages uses: JamesIves/github-pages-deploy-action@4.1.3 with: branch: gh-pages folder: Documentation single-commit: true