name: Sync Installer to Main on: push: branches: - healer-core jobs: sync: runs-on: ubuntu-latest steps: - name: Checkout healer-core uses: actions/checkout@v3 with: ref: healer-core - name: Copy installer run: | mkdir sync cp ./install.sh sync/ - name: Push installer to main run: | cd sync git init git config user.name "AI Healer Bot" git config user.email "bot@aihealer.local" git remote add origin https://github.com/Janady13/healer-pro-pack.git git checkout -b main git add install.sh git commit -m "Sync installer from healer-core" git push origin main --force