Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync to OpenETL Pro | |
on: | |
push: | |
branches: | |
- actions | |
jobs: | |
repo-sync: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: repo-sync | |
uses: repo-sync/github-sync@v2 | |
with: | |
source_repo: "https://github.com/RusabKhan/OpenETL.git" | |
source_branch: "actions" | |
destination_branch: "actions" | |
github_token: ${{ secrets.WORKSPACE }} | |
# - name: Copy changes from OpenETL to OpenETL Pro | |
# run: | | |
# cp -R ./* OpenETL-Pro/ | |
# working-directory: ${{ github.workspace }}/OpenETL | |
# - name: Push changes to develop branch of OpenETL Pro | |
# run: | | |
# cd OpenETL-Pro | |
# git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
# git config --global user.name "GitHub Actions Bot" | |
# git add . | |
# git commit -m "Sync changes from main branch of OpenETL" | |
# git push origin develop |