Skip to content

Sync to private repo #88

Sync to private repo

Sync to private repo #88

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