Merge pull request #70 from zhigang1992/fix/removeAll #31
Workflow file for this run
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
name: Documentation | |
on: | |
push: | |
tags: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
update_documentation: | |
name: Update documentation | |
runs-on: macos-12 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Swift version | |
uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: "5.7" | |
- name: Generate documentation | |
uses: fwcd/swift-docc-action@v1 | |
with: | |
target: Boutique | |
output: ./docs | |
hosting-base-path: Boutique | |
disable-indexing: 'true' | |
transform-for-static-hosting: 'true' | |
- name: Commit documentation | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add ./docs/** | |
git commit -m "Generating documentation" | |
git push | |