diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4834ea4b..3e4e0bd9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -91,13 +91,14 @@ jobs: cp _build/jupyter/*.ipynb _build/lecture-python-advanced.notebooks ls -a _build/lecture-python-advanced.notebooks - name: Commit latest notebooks to lecture-python-advanced.notebooks - uses: cpina/github-action-push-to-another-repository@master + uses: cpina/github-action-push-to-another-repository env: API_TOKEN_GITHUB: ${{ secrets.QUANTECON_SERVICES_PAT }} with: source-directory: '_build/lecture-python-advanced.notebooks/' destination-repository-username: 'QuantEcon' destination-repository-name: 'lecture-python-advanced.notebooks' + target-branch: 'main' commit-message: 'auto publishing updates to notebooks' destination-github-username: 'quantecon-services' user-email: services@quantecon.org