@@ -75,27 +75,27 @@ jobs:
7575 with :
7676 github_token : ${{ secrets.GITHUB_TOKEN }}
7777 publish_dir : _build/html/
78- # cname: python-advanced.quantecon.org
78+ cname : python-advanced.quantecon.org
7979 - name : Upload "_build" folder (cache)
8080 uses : actions/upload-artifact@v2
8181 with :
8282 name : build-cache
8383 path : _build
84- # - name: Prepare lecture-python-advanced.notebooks sync
85- # shell: bash -l {0}
86- # run: |
87- # mkdir -p _build/lecture-python-advanced.notebooks
88- # cp -a _notebook_repo/. _build/lecture-python-advanced.notebooks
89- # cp _build/jupyter/*.ipynb _build/lecture-python-advanced.notebooks
90- # ls -a _build/lecture-python-advanced.notebooks
91- # - name: Commit latest notebooks to lecture-python-advanced.notebooks
92- # uses: cpina/github-action-push-to-another-repository@master
93- # env:
94- # API_TOKEN_GITHUB: ${{ secrets.QUANTECON_SERVICES_PAT }}
95- # with:
96- # source-directory: '_build/lecture-python-advanced.notebooks/'
97- # destination-repository-username: 'QuantEcon'
98- # destination-repository-name: 'lecture-python-advanced.notebooks'
99- # commit-message: 'auto publishing updates to notebooks'
100- # destination-github-username: 'quantecon-services'
101- # user-email: services@quantecon.org
84+ - name : Prepare lecture-python-advanced.notebooks sync
85+ shell : bash -l {0}
86+ run : |
87+ mkdir -p _build/lecture-python-advanced.notebooks
88+ cp -a _notebook_repo/. _build/lecture-python-advanced.notebooks
89+ cp _build/jupyter/*.ipynb _build/lecture-python-advanced.notebooks
90+ ls -a _build/lecture-python-advanced.notebooks
91+ - name : Commit latest notebooks to lecture-python-advanced.notebooks
92+ uses : cpina/github-action-push-to-another-repository@master
93+ env :
94+ API_TOKEN_GITHUB : ${{ secrets.QUANTECON_SERVICES_PAT }}
95+ with :
96+ source-directory : ' _build/lecture-python-advanced.notebooks/'
97+ destination-repository-username : ' QuantEcon'
98+ destination-repository-name : ' lecture-python-advanced.notebooks'
99+ commit-message : ' auto publishing updates to notebooks'
100+ destination-github-username : ' quantecon-services'
101+ user-email : services@quantecon.org
0 commit comments