diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 068f201..034f9a9 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -62,7 +62,7 @@ jobs: miniconda-version: 'latest' python-version: 3.8 environment-file: environment.yml - activate-environment: qe-lectures + activate-environment: lecture-python - name: Checkout QuantEcon theme uses: actions/checkout@v2 with: @@ -78,5 +78,6 @@ jobs: - name: Build Website files shell: bash -l {0} run: | + ls theme/lecture-python.theme make website THEMEPATH=theme/lecture-python.theme ls _build/website/jupyter_html/* \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71f3a46..dc98584 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: miniconda-version: 'latest' python-version: 3.8 environment-file: environment.yml - activate-environment: qe-lectures + activate-environment: lecture-python - name: Display Conda Environment Versions shell: bash -l {0} run: conda list diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 13c6a6c..1cd5ca5 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -17,7 +17,7 @@ jobs: miniconda-version: 'latest' python-version: 3.8 environment-file: environment.yml - activate-environment: qe-lectures + activate-environment: lecture-python - name: Run Execution Tests shell: bash -l {0} run: make coverage diff --git a/.github/workflows/pdf.yml b/.github/workflows/pdf.yml index 169cf51..30d4437 100644 --- a/.github/workflows/pdf.yml +++ b/.github/workflows/pdf.yml @@ -35,7 +35,13 @@ jobs: miniconda-version: 'latest' python-version: 3.8 environment-file: environment.yml - activate-environment: qe-lectures + activate-environment: lecture-python + - name: Checkout QuantEcon theme + uses: actions/checkout@v2 + with: + repository: QuantEcon/lecture-python.theme + token: ${{ secrets.ACTIONS_PAT }} + path: theme/lecture-python.theme - name: Build PDF shell: bash -l {0} run: | @@ -43,6 +49,7 @@ jobs: echo 'export PATH=/tmp/texlive/bin/x86_64-linux:$PATH' >> ~/.bash_profile source ~/.bash_profile more ~/.bash_profile + ls theme/lecture-python.theme make pdf - uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 077100a..a57f9f4 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -17,7 +17,7 @@ jobs: miniconda-version: 'latest' python-version: 3.8 environment-file: environment.yml - activate-environment: qe-lectures + activate-environment: lecture-python - name: Get Changed Files id: files uses: jitterbit/get-changed-files@v1 diff --git a/environment.yml b/environment.yml index 0e4ed13..4957b11 100644 --- a/environment.yml +++ b/environment.yml @@ -1,10 +1,10 @@ -name: qe-lectures +name: lecture-python channels: - default dependencies: - python=3.8 - - anaconda=2020.11 + - anaconda=2020.07 - pip - pip: - quantecon