Skip to content

Update for October

Update for October #40

Workflow file for this run

name: Publish to GitHub Pages
on:
push:
branches-ignore:
- 'gh-pages' # excludes gh-pages
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out
uses: actions/checkout@v3
- name: Jupyter convert
run: |
sudo apt update
sudo apt install python3-pip
pip install nbconvert cogapp
jupyter-nbconvert welcome.ipynb --to slides
mv welcome.slides.html index.html
cog --check README.md
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
publish_branch: gh-pages