-
Notifications
You must be signed in to change notification settings - Fork 17
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
ci: Use built docs in Deploy job, use single file #221
Conversation
That's fine by me 🤷♂️ (I'm more concerned with the ugly |
Ironically, I have been trying to move away from having a single workflow for PR and upstream/main since they have different scopes (deploy, publish snapshot, publis javadoc, etc). This will also break the icon in README and the link (https://github.com/modcluster/docs.modcluster.io/actions/workflows/deploy.yml) but I will fix that. |
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.
Let's try this!
Fixed the link - bffc3ed |
@jajik Are you sure this works? because it doesn't - https://github.com/modcluster/docs.modcluster.io/actions/runs/11328040976 |
Well, I wanted to preserve the |
I think you misunderstood what 'needs' actually does in GHA.. |
Nope, the checkout is missing because I did not realize the gh-pages stuff needs that. |
I'll fix it after a meeting |
Right - the 'deploy' job just doesn't have the checkout nor nothing else from the 'ci' job for that matter.. |
The deployment can use the
ci
artifact directly instead of building again (it needs to be in the same file, but that seems like an acceptable change).