Deploy the example to GitHub Pages - #10
Merged
Merged
Conversation
Publish the example to https://santaclaas.github.io/material-tailwind/ on every push to main, so the plugin's output can be seen without checking out and building the repository. Pages is set to the "GitHub Actions" source, so the workflow is what deploys. Build and deploy are separate jobs, like in the release workflow, so the build-time dependencies never hold the token that can publish. Installing takes two steps because the example is its own pnpm workspace that links to the repository root: the root install provides the plugin's own dependencies, which the link cannot pull in on its own. The example install keeps build scripts enabled, unlike the other workflows, because esbuild has to unpack its binary; pnpm still only runs what the allowBuilds list permits. Vite gets base: "./" so the built asset URLs are relative and resolve under the /material-tailwind/ subdirectory a project site is served from. A relative base rather than the hardcoded path keeps the dev server at "/". Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
SantaClaas
force-pushed
the
upgrade-material-color-utilities-0.4.0
branch
from
August 6, 2026 20:45
60e3c73 to
deabc16
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Publishes the example to https://santaclaas.github.io/material-tailwind/ on
every push to
main, so the plugin's output can be seen without checking outand building the repository. Pages is already set to the "GitHub Actions"
source, so this workflow is what deploys.
Build and deploy are separate jobs, as in the release workflow, so build-time
dependencies never hold the token that can publish.
Installing takes two steps because the example is its own pnpm workspace that
links to the repository root: the root install provides the plugin's own
dependencies, which the link cannot pull in on its own. The example install
keeps build scripts enabled, unlike the other workflows, because esbuild has to
unpack its binary; pnpm still only runs what the
allowBuildslist permits.Vite gets
base: "./"so the built asset URLs are relative and resolve underthe
/material-tailwind/subdirectory a project site is served from. A relativebase rather than the hardcoded path keeps the dev server at
/.Verification
node_modulesusing the exact workflowcommands.
/material-tailwind/subpath and loaded it in abrowser: renders correctly, all assets 200, no console errors.
zizmorreports no findings across all four workflows.🤖 Generated with Claude Code