1

We are trying to automate some stuff

Basically now are stuck with GitHub part:

What we want to do:

  • Upload/Push files using users API
  • In Future we will update same repo (with update version)
  • That's all

What are we using

We are looking to achieve this using PHP & CURL

1 Answer 1

1

Since zip file are not a good fit for a GitHub source repository, you could:

  • create a release
  • upload zip files associated with this release

This is done in command line using gh, the GitHub LCI

You can call that command from your PHP script.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.