Skip to content

Commit

Permalink
Added again the workflow
Browse files Browse the repository at this point in the history
Signed-off-by: miguelgfierro <miguelgfierro@users.noreply.github.com>
  • Loading branch information
miguelgfierro committed Dec 31, 2023
1 parent 9ac4744 commit 020e497
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/update_documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Update Documentation

on:
push:
branches:
- miguel/jupyter_book

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Install dependencies
run: |
pip install --upgrade pip setuptools wheel
pip install --no-use-pep517 lightfm
pip install .
pip install -r docs/requirements-doc.txt
- name: Build and deploy documentation
run: |
jupyter-book build docs
- name: Build and deploy documentation
run: |
cd docs/_build/html
git add .
git commit -m "Update documentation"
git push origin gh-pages

0 comments on commit 020e497

Please sign in to comment.