From f9b628c1d0a2767edaff7f739f1daf0d4e3979f6 Mon Sep 17 00:00:00 2001 From: Zach Date: Wed, 7 Aug 2024 07:22:49 -0600 Subject: [PATCH] Update docc.yml (#1) --- .github/workflows/docc.yml | 48 +++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/docc.yml b/.github/workflows/docc.yml index 9135bdb..1b3a90b 100644 --- a/.github/workflows/docc.yml +++ b/.github/workflows/docc.yml @@ -1,7 +1,7 @@ name: docc on: push: - branches: ["main"] + branches: ["main"] permissions: contents: read pages: write @@ -11,26 +11,26 @@ concurrency: cancel-in-progress: true jobs: pages: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: macos-12 - steps: - - name: git checkout - uses: actions/checkout@v3 - - name: docbuild - run: | - xcodebuild docbuild -scheme Later \ - -derivedDataPath /tmp/docbuild \ - -destination 'generic/platform=iOS'; - $(xcrun --find docc) process-archive \ - transform-for-static-hosting /tmp/docbuild/Build/Products/Debug-iphoneos/Later.doccarchive \ - --output-path docs; - echo "" > docs/index.html; - - name: artifacts - uses: actions/upload-pages-artifact@v1 - with: - path: 'docs' - - name: deploy - id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: macos-12 + steps: + - name: git checkout + uses: actions/checkout@v3 + - name: docbuild + run: | + xcodebuild docbuild -scheme Later \ + -derivedDataPath /tmp/docbuild \ + -destination 'generic/platform=iOS'; + $(xcrun --find docc) process-archive \ + transform-for-static-hosting /tmp/docbuild/Build/Products/Debug-iphoneos/Later.doccarchive \ + --output-path docs; + echo "" > docs/index.html; + - name: artifacts + uses: actions/upload-pages-artifact@v1 + with: + path: 'docs' + - name: deploy + id: deployment + uses: actions/deploy-pages@v1