Skip to content

neww sync procedure #10

neww sync procedure

neww sync procedure #10

Workflow file for this run

name: Sync branches between repos
on:
push:
branches:
- actions # Adjust as needed for your branch name
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout source repository
uses: actions/checkout@v2
with:
repository: RusabKhan/OpenETL
ref: ${{ github.ref }} # Use the same branch or tag that triggered the workflow
- name: Push changes to target repository
run: |
git config --global user.email "githubactions[bot]@github.com"
git config --global user.name "Github Actions Bot"
git remote add target-repo [email protected]:RusabKhan/OpenETL-Pro.git
git push target-repo HEAD:actions # Adjust target branch name if needed