diff --git a/.github/workflows/pagedeploy.yaml b/.github/workflows/pagedeploy.yaml index a052125..b8d7881 100644 --- a/.github/workflows/pagedeploy.yaml +++ b/.github/workflows/pagedeploy.yaml @@ -37,13 +37,13 @@ jobs: jupyter nbconvert --to html --output-dir ./jupyters/ ./*.ipynb - name: Customize Lecture pages with headers run: | - cat <(echo "---"; echo "layout: default"; echo "title: Lecture 1"; echo "description: (coverig tasks 1-4)"; echo "---"; echo ""; echo "**| [Main Page](./index.html) | [Lecture 1](./Lecture1.html) |**") ./temp/Lecture1.md > Lecture1.md + cat <(echo "---"; echo "layout: default"; echo "title: Lecture 1"; echo "description: (coverig tasks 1-4)"; echo "---"; echo ""; echo "**| [Main Page](./index.html) | [Lecture 1](./Lecture1.html) ([native render](./jupyters/Lecture1.html)) |**") ./temp/Lecture1.md > Lecture1.md sed -i '/# MatSE580 Guest Lecture 1/d' Lecture1.md cat Lecture1.md - name: Customize README run: | cp README.md temp/README.md - cat <(echo "**| [Main Page](./index.html) | [Lecture 1](./Lecture1.html) |**") ./temp/README.md > README.md + cat <(echo "**| [Main Page](./index.html) | [Lecture 1](./Lecture1.html) ([native render](./jupyters/Lecture1.html)) |**") ./temp/README.md > README.md sed -i '/# MatSE580 Guest Lectures/d' README.md cat README.md # README-related tasks