diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..bb38364 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,19 @@ +name: Mirror Personal Repo to Organization Repo + +on: + push: + branches: + - main # Replace 'main' with the branch name you want to mirror + +jobs: + mirror: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Push changes to organization repository + run: | + git remote add organization_repo https://github.com/CodeChefVIT/contactify-backend.git + git push organization_repo HEAD:main