Skip to content

v0.3.0

v0.3.0 #13

Workflow file for this run

name: Deploy documentation
on:
release:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
container: gcr.io/google.com/cloudsdktool/google-cloud-cli:latest
environment: documentation
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v2
with:
version: "0.4.20"
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Cache Dependencies
uses: actions/cache@v3
with:
path: ~/.cache/uv
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Dependencies
shell: bash
run: source ./setup_dev_env.sh
- name: Deploy docs
shell: bash
run: ./.github/scripts/deploy_docs.sh
env:
GCP_KEY: ${{ secrets.GCP_KEY }}