Skip to content

Merge pull request #1 from deepsense-ai/mh/github_actions #2

Merge pull request #1 from deepsense-ai/mh/github_actions

Merge pull request #1 from deepsense-ai/mh/github_actions #2

Workflow file for this run

name: Build documentation
on:
push:
branches: [main, master]
jobs:
pages:
runs-on: gcr.io/google.com/cloudsdktool/google-cloud-cli:latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Cache Dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-
# for best results, it is better to generate
# documentation within development environment
- name: Create venv
run: . ./setup_dev_env.sh
- name: Build docs
run: |
source venv/bin/activate
./.github/scripts/build_docs.sh