diff --git a/.github/workflows/sync-notebooks.yml b/.github/workflows/sync-notebooks.yml index 9a7e48f..81170b2 100644 --- a/.github/workflows/sync-notebooks.yml +++ b/.github/workflows/sync-notebooks.yml @@ -2,7 +2,7 @@ name: Sync Notebooks Folder on: schedule: - - cron: '0 0 * * 0' # Runs at 00:00 every Sunday + - cron: '0 0 * * 0' # Runs at 00:00 every Sunday jobs: sync-notebooks: @@ -11,7 +11,7 @@ jobs: - name: Checkout destination repository uses: actions/checkout@v2 with: - token: ${{ secrets.ACCESS_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Sync notebooks from source repository uses: repo-sync/github-sync@v2 @@ -19,6 +19,6 @@ jobs: source_repo: "LorenFrankLab/spyglass" source_branch: "master" destination_branch: "master" - github_token: ${{ secrets.ACCESS_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} sync: "notebooks/*" sync_strategy: 'theirs'