Skip to content

Feat docs (#274)

Feat docs (#274) #215

Workflow file for this run

name: generate_doc
on:
push:
branches: [main]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "16"
- name: Build
run: |
xcodebuild docbuild -scheme CharcoalSwiftUI -destination generic/platform=iOS -derivedDataPath OTHER_DOCC_FLAGS="--transform-for-static-hosting --hosting-base-path charcoal-ios --output-path ./docs"
xcodebuild docbuild -scheme CharcoalUIKit -destination generic/platform=iOS -derivedDataPath OTHER_DOCC_FLAGS="--transform-for-static-hosting --hosting-base-path charcoal-ios --output-path ./docs"
xcodebuild docbuild -scheme Charcoal -destination generic/platform=iOS OTHER_DOCC_FLAGS="--transform-for-static-hosting --hosting-base-path charcoal-ios --output-path ./docs"
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs