Skip to content

Commit

Permalink
Adding workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KC-2001MS committed Jul 30, 2024
1 parent 9ae3e8d commit c1d48af
Show file tree
Hide file tree
Showing 8,686 changed files with 85 additions and 9,078 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
52 changes: 52 additions & 0 deletions .github/workflows/docc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Deploy DocC

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
build:
runs-on: macos-14
env:
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build DocC
run: |
swift package --allow-writing-to-directory ./docs \
generate-documentation \
--target OnboardingUI \
--disable-indexing \
--transform-for-static-hosting \
--output-path ./docs \
--transform-for-static-hosting \
--hosting-base-path OnboardingUI
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs

deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: "https://iroiro.dev/OnboardingUI/documentation/onboardingui/"

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
18 changes: 18 additions & 0 deletions .swiftpm/configuration/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,24 @@
"revision" : "b45d1f2ed151d057b54504d653e0da5552844e34",
"version" : "1.0.0"
}
},
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-syntax.git",
"state" : {
"revision" : "82a453c2dfa335c7e778695762438dfe72b328d2",
"version" : "600.0.0-prerelease-2024-07-24"
}
},
{
"identity" : "swift-testing",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-testing.git",
"state" : {
"revision" : "6155e83dbaa2696d13bcd0079665b6a6daaf6dc8",
"version" : "0.11.0"
}
}
],
"version" : 2
Expand Down
12 changes: 12 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/OnboardingUI.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "OnboardingUITests"
BuildableName = "OnboardingUITests"
BlueprintName = "OnboardingUITests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-syntax.git",
"location" : "https://github.com/apple/swift-syntax.git",
"state" : {
"revision" : "82a453c2dfa335c7e778695762438dfe72b328d2",
"version" : "600.0.0-prerelease-2024-07-24"
Expand All @@ -32,8 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-testing.git",
"state" : {
"revision" : "6155e83dbaa2696d13bcd0079665b6a6daaf6dc8",
"version" : "0.11.0"
"revision" : "69d59cfc76e5daf498ca61f5af409f594768eef9",
"version" : "0.10.0"
}
}
],
Expand Down
9 changes: 0 additions & 9 deletions docs/css/chunk-c0335d80.10a2f091.css

This file was deleted.

9 changes: 0 additions & 9 deletions docs/css/documentation-topic.1d1eec04.css

This file was deleted.

9 changes: 0 additions & 9 deletions docs/css/documentation-topic~topic.b6287bcf.css

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions docs/css/index.038e887c.css

This file was deleted.

9 changes: 0 additions & 9 deletions docs/css/topic.d8c126f3.css

This file was deleted.

9 changes: 0 additions & 9 deletions docs/css/tutorials-overview.c249c765.css

This file was deleted.

Loading

0 comments on commit c1d48af

Please sign in to comment.