Skip to content

Merge pull request #149 from GoogleCloudPlatform/5Y5TEM-patch-2 #56

Merge pull request #149 from GoogleCloudPlatform/5Y5TEM-patch-2

Merge pull request #149 from GoogleCloudPlatform/5Y5TEM-patch-2 #56

name: pages-build-deployment
on:
[push]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Configure Git
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Build and deploy documentation
run: |
cd docs
chmod +x ./mkdocs.sh
./mkdocs.sh gh-deploy --force