Skip to content

Releases/v0.6.0 (#97) #5

Releases/v0.6.0 (#97)

Releases/v0.6.0 (#97) #5

name: Docc Static Site Deployment
on:
push:
branches: ["main"]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy-docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: sersoft-gmbh/swifty-docs-action@v2
with:
output: docs
use-xcodebuild: true
xcodebuild-scheme: MuxUploadSDK
xcodebuild-destination: generic/platform=iOS
transform-for-static-hosting: true
hosting-base-path: swift-upload-sdk
- name: Post Process Docc Archive
run: ./scripts/post-process-docc-archive-for-github-pages.sh swift-upload-sdk muxuploadsdk
- uses: actions/upload-pages-artifact@v1
with:
path: docs
- uses: actions/[email protected]
id: deployment