Skip to content

Delete index.html

Delete index.html #3

Workflow file for this run

name: Deploy Jupyter Notebook to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install Jupyter
run: |
python -m venv myenv
source myenv/bin/activate
pip install jupyter
- name: Convert notebook to HTML
run: |
source myenv/bin/activate
jupyter nbconvert --to html mynotebook.ipynb
- name: Debug: List files

Check failure on line 32 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
run: |
ls -al
ls -al myenv/bin
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./