From 9ec92a7ebe9a54ede9601b51f787f4c67a186223 Mon Sep 17 00:00:00 2001 From: Paul Schmiedmayer Date: Fri, 17 May 2024 15:48:13 -0700 Subject: [PATCH] Update --- .github/workflows/docc-github-pages.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docc-github-pages.yml b/.github/workflows/docc-github-pages.yml index 6d8c168..8d680ac 100644 --- a/.github/workflows/docc-github-pages.yml +++ b/.github/workflows/docc-github-pages.yml @@ -35,10 +35,6 @@ on: required: false type: string default: 'platform=iOS Simulator,name=iPhone 15 Pro' - targetname: - description: 'The name of the documentation target (lowercased) to generate an index.html file' - required: true - type: string permissions: contents: read @@ -83,7 +79,8 @@ jobs: transform-for-static-hosting .derivedData/Build/Products/Debug-iphoneos/${{ inputs.scheme }}.doccarchive \ --hosting-base-path ${GITHUB_REPOSITORY##*/} \ --output-path .docs - echo "" > .docs/index.html + TARGET_NAME=$(echo ${{ inputs.scheme }} | tr '[:upper:]' '[:lower:]') + echo "" > .docs/index.html - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: