File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -88,15 +88,18 @@ jobs:
8888 cp lectures/Project.toml _build/lecture-julia.notebooks
8989 cp lectures/Manifest.toml _build/lecture-julia.notebooks
9090 ls -a _build/lecture-julia.notebooks
91- - name : Commit latest notebooks to lecture-julia.notebooks
92- 91+ - name : Commit notebooks to lecture-julia.notebooks
92+ shell : bash -l {0}
9393 env :
94- API_TOKEN_GITHUB : ${{ secrets.QUANTECON_SERVICES_PAT }}
95- with :
96- source-directory : ' _build/lecture-julia.notebooks/'
97- destination-repository-username : ' QuantEcon'
98- destination-repository-name : ' lecture-julia.notebooks'
99- target-branch : main
100- commit-message : ' auto publishing updates to notebooks'
101- destination-github-username : ' quantecon-services'
102- 94+ QE_SERVICES_PAT : ${{ secrets.QUANTECON_SERVICES_PAT }}
95+ run : |
96+ git clone https://quantecon-services:[email protected] /quantecon/lecture-julia.notebooks 97+
98+ cp _build/lecture-julia.notebooks/*.ipynb lecture-julia.notebooks
99+
100+ cd lecture-julia.notebooks
101+ git config user.name "QuantEcon Services"
102+ git config user.email "[email protected] " 103+ git add *.ipynb
104+ git commit -m "auto publishing updates to notebooks"
105+ git push origin main
You can’t perform that action at this time.
0 commit comments