Skip to content

Create mirror.yml

Create mirror.yml #1

Workflow file for this run

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