-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
generator #960
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: main
Are you sure you want to change the base?
generator #960
Conversation
@abernier is attempting to deploy a commit to the timlrx's projects Team on Vercel. A member of the Team first needs to authorize it. |
This is too smart 😄 Now I really feel like creating a documentation template that expands on this concept. I think we should automatically disable the newsletter box since it is the only feature in the static site that cannot actually be used. Another consideration is maintenance - I don't want to break everyone's blog with an update. Having the deployable github pages is a start, but I can't guarantee that the settings and data are always backwards compatible, not to mention certain dependencies with breaking changes. Perhaps we should pin this to a version and let the user manually update it, instead of using main? |
For this, I've set a tailwind-nextjs-starter-blog/.github/workflows/action.yml Lines 4 to 22 in 5aeedd5
so: jobs:
build:
uses: timlrx/tailwind-nextjs-starter-blog/.github/workflows/action.yml@v2 is equivalent to: jobs:
build:
uses: timlrx/tailwind-nextjs-starter-blog/.github/workflows/action.yml@v2
with:
ref: v2 => actions/checkout will checkout tailwind-nextjs-starter-blog/.github/workflows/action.yml Lines 19 to 22 in 5aeedd5
|
I think it's a interesting feature, probably more suited for someone who just wants to use the default config with minimal changes. Though if you are using a next.js blog, you are probably looking to customize it. |
depends on: #958
This PR adds a "reusable workflow" that any new {repo} can re-"use" as a generator(think Jekyll), eg:
The repo can override any file from
timlrx/tailwind-nextjs-starter-blog
, especiallydata/blog/
folder.-> A working example: abernier/myblog