0.10.8 #48
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: Publish DocC | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer | |
jobs: | |
documentation: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Generate DocC | |
run: | | |
mkdir -p docs | |
set -o pipefail && xcodebuild docbuild \ | |
-scheme Orbit \ | |
-destination "generic/platform=iOS" \ | |
OTHER_DOCC_FLAGS="--transform-for-static-hosting --hosting-base-path orbit-swiftui --output-path docs" \ | |
| xcpretty | |
- name: Deploy to Github Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: docc | |
folder: docs | |
target-folder: docs | |
git-config-name: Mobile Automation | |
git-config-email: [email protected] | |
commit-message: Updated DocC documentation for version ${{ github.event.release.tag_name }} |