Skip to content

Solarfactors notebook (#9) #95

Solarfactors notebook (#9)

Solarfactors notebook (#9) #95

Workflow file for this run

name: build-deploy
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Install dependencies
- name: Install Python
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
sudo apt-get install pandoc
pip install -r requirements.txt
- name: Sphinx build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_USERNAME: ${{ secrets.GH_USERNAME }}
run: |
cd sphinx && make html
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: sphinx/build/html