Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Deploying projects #427

Unanswered
etyson17 asked this question in Q&A
Sep 8, 2022 · 2 comments · 1 reply
Discussion options

Has anyone found a good way to deploy these projects? I was wondering if there was something like goreleaser available for these types of projects. My end goal is to be able to push to gitlab and then be able to pull the compiled project from homebrew.

You must be logged in to vote

Replies: 2 comments · 1 reply

Comment options

Why not try writing a YAML file and using the repo actions

You must be logged in to vote
1 reply
@etyson17
Comment options

We currently have a pipeline that we would like to replace and are looking for a more OOTB solution.

Comment options

If you're wanting to push to Homebrew, you can try compiling a PHAR binary. This is built into Laravel Zero, and would involve basically just running php <your-application> app:build.

The resulting PHAR will be created in the builds directory, and you can push this to whatever storage you want (Git repo, GitLab storage of some sort, etc.).

Then, you can create a Brew formula that points to this PHAR (and depends on PHP).

I've written a pretty simple blog post which may help with this:
https://voke.dev/blog/distributing-laravel-zero-apps-with-brew

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.