Add OpenSSL.xcframework to the resources to make embedding proper #17
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: | |
branches: [ master ] | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_14.0.1.app/Contents/Developer | |
jobs: | |
Generate: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate archive | |
run: | | |
xcodebuild docbuild \ | |
-scheme 'OHMySQL' \ | |
-derivedDataPath ./build \ | |
-destination 'platform=iOS Simulator,OS=latest,name=iPhone 13' | |
- name: Generate pages | |
run: | | |
$(xcrun --find docc) process-archive transform-for-static-hosting \ | |
$(find ./build -type d -name '*.doccarchive') \ | |
--hosting-base-path OHMySQL \ | |
--output-path ./docs | |
- name: Deploy documentation to Github Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs | |
keep_files: true |