Skip to content

Commit 8d6b711

Browse files
committed
MAINT: Update conda env for notebook sync step
1 parent 5a2d89f commit 8d6b711

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,16 @@ jobs:
117117
cp -a _notebook_repo/. _build/lecture-python-programming.notebooks
118118
cp _build/jupyter/*.ipynb _build/lecture-python-programming.notebooks
119119
ls -a _build/lecture-python-programming.notebooks
120-
# - name: Commit latest notebooks to lecture-python-programming.notebooks
121-
# uses: cpina/github-action-push-to-another-repository@main
122-
# env:
123-
# API_TOKEN_GITHUB: ${{ secrets.QUANTECON_SERVICES_PAT }}
124-
# with:
125-
# source-directory: '_build/lecture-python-programming.notebooks/'
126-
# destination-repository-username: 'QuantEcon'
127-
# destination-repository-name: 'lecture-python-programming.notebooks'
128-
# target-branch: master
129-
# commit-message: 'auto publishing updates to notebooks'
130-
# destination-github-username: 'quantecon-services'
131-
# user-email: [email protected]
120+
- name: Commit latest notebooks to lecture-python-programming.notebooks
121+
uses: cpina/github-action-push-to-another-repository@main
122+
env:
123+
CONDA: /__w/lecture-python-programming.myst/lecture-python-programming.myst/3
124+
API_TOKEN_GITHUB: ${{ secrets.QUANTECON_SERVICES_PAT }}
125+
with:
126+
source-directory: '_build/lecture-python-programming.notebooks/'
127+
destination-repository-username: 'QuantEcon'
128+
destination-repository-name: 'lecture-python-programming.notebooks'
129+
target-branch: master
130+
commit-message: 'auto publishing updates to notebooks'
131+
destination-github-username: 'quantecon-services'
132+
user-email: [email protected]

0 commit comments

Comments
 (0)