-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Actions to build and deploy docc documentations #69
GitHub Actions to build and deploy docc documentations #69
Conversation
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could also be 1 as you do not need the whole history
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this do? I haven't looked at it in-depth yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0 would get all the git history, brackens and tags. Default is 1 where it will fetch only the intended branch.
@@ -0,0 +1,15 @@ | |||
##!/bin/sh | |||
|
|||
xcrun xcodebuild docbuild \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be nice to move this into a subfolder like tools
so tat it is "hidden" for those who don't need to know about it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about folder named scripts
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think .scripts
would work (so it's a hidden folder by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!! I'm so excited for this!
It's alive!! Great work!! It took about 5 minutes to run, is that normal? |
@mikaelacaron Finally good to see it in live! I just saw the build details and majority of the time taken for fetching swift packages. Best way to save time would be caching the swift packages. Let me work on improving the build time for docc GitHub action. |
Can you create a new issue for this? and I can assign it to you! Thanks! |
@mikaelacaron created #81 to track. |
What it Does
How I Tested
Notes