Skip to content

Commit

Permalink
Adjust deploy scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsaidi committed Mar 14, 2024
1 parent 8cfc04e commit 617eba9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches: ["main"]

env:
SCHEME: ApiKit
SCHEME: TagKit

jobs:
build:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
run: |
swift package resolve;
xcodebuild docbuild -scheme ApiKit -derivedDataPath /tmp/docbuild -destination 'generic/platform=iOS';
xcodebuild docbuild -scheme WebViewKit -derivedDataPath /tmp/docbuild -destination 'generic/platform=iOS';
$(xcrun --find docc) process-archive \
transform-for-static-hosting /tmp/docbuild/Build/Products/Debug-iphoneos/ApiKit.doccarchive \
transform-for-static-hosting /tmp/docbuild/Build/Products/Debug-iphoneos/WebViewKit.doccarchive \
--output-path docs \
--hosting-base-path 'ApiKit';
--hosting-base-path 'WebViewKit';
echo "<script>window.location.href += \"/documentation/apikit\"</script>" > docs/index.html;
echo "<script>window.location.href += \"/documentation/tagkit\"</script>" > docs/index.html;
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 617eba9

Please sign in to comment.