Skip to content

update conda environment #107

update conda environment

update conda environment #107

Workflow file for this run

name: Publish
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
- run: pip install -r requirements.txt
- run: sudo apt update -qy && sudo apt install ffmpeg -qy
- run: jupyter nbconvert *.ipynb --to slides --execute --SlidesExporter.file_extension=".html" --SlidesExporter.reveal_transition="convex"
- run: mv *.html dist/.
- uses: actions/upload-pages-artifact@v3
with:
path: "dist/"
deploy:
if: github.ref == 'refs/heads/main'
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v4
id: deployment