Skip to content

Conversation

@assayire
Copy link
Collaborator

@assayire assayire commented May 5, 2025

Requires enabling GH pages in the repo settings


def buildBlog(): Unit = {
val resourcePath = "/Users/daniel/dev/rockthejvm/courses-playground/scala-projects-playground/src/main/resources"
val resourcePath = (os.pwd / "src/main/resources").toString
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only real code change here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@assayire assayire requested a review from daniel-ciocirlan May 5, 2025 19:56
@@ -0,0 +1,63 @@
name: Publish Blog to GitHub Pages
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think GH Pages needs a fake .nojekyll file or something like that, for the workflow to run

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now, I configured the GH pages to be deployed from GH actions. You can see the builds/actions kicked off on push but deploy fails because you can deploy only from master. So, if you are okay to merge this PR, you can see the pages live (once the push to master triggers the action).

@assayire assayire merged commit ccad4b5 into master May 6, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants