-
Notifications
You must be signed in to change notification settings - Fork 0
Using GH actions to publish GH pages #1
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
Conversation
|
|
||
| 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 |
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 is the only real code change here.
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,0 +1,63 @@ | |||
| name: Publish Blog to GitHub Pages | |||
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 GH Pages needs a fake .nojekyll file or something like that, for the workflow to run
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.
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).
Requires enabling GH pages in the repo settings