Innovateninjas / Paws-frontend

A fast responsive webapp that allows you to report injured stray animals to the nearest NGOs.
https://pawss.vercel.app
GNU General Public License v3.0
63 stars 101 forks source link

autmatated repo updation #433

Closed codewarnab closed 4 months ago

codewarnab commented 5 months ago

in vercel deploying from organisation repo is paid so we are deploying from one of our fork , write some workflow or script that automatically update that forks whenever new code is pushed/merged to this branch

codewarnab commented 5 months ago

share ur approach how u r gonna do this

MohanRamSridhar commented 5 months ago

Can you please assign this issue to me

Here's my approach:

  1. Triggers: The workflow runs on a schedule, manually, or on push.
  2. Job Setup: Runs on an Ubuntu machine.
  3. Steps:
    • Check out your forked repository.
    • Add the original repository as a remote.
    • Fetch updates from the original repository.
    • Merge these updates into your branch.
    • Push the changes back to your fork.
codewarnab commented 5 months ago

Can you please assign this issue to me

Here's my approach:

1. **Triggers:** The workflow runs on a schedule, manually, or on push.

2. **Job Setup:** Runs on an Ubuntu machine.

3. **Steps:**

* Check out your forked repository.

* Add the original repository as a remote.

* Fetch updates from the original repository.

* Merge these updates into your branch.

* Push the changes back to your fork.

yep seems fine , do this try and test it thats properly working then put that in a .txt file we will transfer that to that fork repo . u want it under Gssoc right ?

MohanRamSridhar commented 5 months ago

yes