Sync to private repo #88
This file contains hidden or 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 private repo | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_run: | |
| workflows: ["Daily Change Summary"] | |
| types: [completed] | |
| jobs: | |
| sync: | |
| if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Push to private repo | |
| run: | | |
| git remote add private https://x-access-token:${{ secrets.SYNC_TOKEN }}@github.com/zjowowen/notebooklm.git | |
| git push private main |