Skip to content

Commit

Permalink
Create mirror.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamgutgutia authored Dec 22, 2023
1 parent b99b4c7 commit 081a7b4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 081a7b4

Please sign in to comment.