Skip to content

Commit

Permalink
Docc generation (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
UriyDevyataev authored Mar 21, 2024
1 parent 325d993 commit 59995ec
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
docs:
runs-on: ubuntu-latest
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
Expand All @@ -30,13 +30,10 @@ jobs:
with:
swift-version: '5.7'
- name: Generate Docs
uses: fwcd/swift-docc-action@v1
with:
target: Fastis
output: ./public
transform-for-static-hosting: 'true'
disable-indexing: 'true'
hosting-base-path: Fastis
run: |
xcodebuild docbuild -scheme Fastis \
-destination generic/platform=iOS \
OTHER_DOCC_FLAGS="--transform-for-static-hosting --hosting-base-path Fastis --output-path public"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down

0 comments on commit 59995ec

Please sign in to comment.