Skip to content
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

Add an option to run the NPM build command in the action #30

Open
caendesilva opened this issue May 5, 2024 · 4 comments
Open

Add an option to run the NPM build command in the action #30

caendesilva opened this issue May 5, 2024 · 4 comments
Assignees

Comments

@caendesilva
Copy link
Member

Discussed in hydephp/hyde#256

Originally posted by ydalton May 5, 2024
The thing is, the reason I wanted this is so that I could have the HydePHP GitHub actions automatically compile the Tailwind classes on deployment, but I don't see how to do it.

Originally posted by @ydalton in hydephp/hyde#256 (comment)

@caendesilva caendesilva self-assigned this Jul 21, 2024
@caendesilva
Copy link
Member Author

Assigning myself so we can prioritise this.

@caendesilva
Copy link
Member Author

I think compile_assets: true is a good key for this.

@caendesilva
Copy link
Member Author

A workaround for now is to have a separate workflow that compiles assets on push.

@caendesilva
Copy link
Member Author

Would be nice if we supported arbitrary build arguments then we could pass --run-prod

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

No branches or pull requests

1 participant