Skip to content

v1.1.4

v1.1.4 #13

name: Update Docc documentation
on:
release:
types: [published]
jobs:
update-api-documentation:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: generate doc files
run: xcodebuild docbuild -scheme ApiVideoPlayer -derivedDataPath ../api.video-swift-player-build -destination 'platform=iOS Simulator,name=iPhone 12'
- name: create docs folder
run: mkdir ../Docs
- name: process docarchive
run: $(xcrun --find docc) process-archive \transform-for-static-hosting ../api.video-swift-player-build/Build/Products/Debug-iphonesimulator/ApiVideoPlayer.doccarchive \--output-path ../Docs \--hosting-base-path /api.video-swift-player
- name: Deploy documentation to Github Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: ../Docs