Skip to content

deploy preview

deploy preview #3

name: Build, Deploy to GitHub Pages and Deploy PR Preview
on:
push:
branches:
- docs/adding-docs-app
# pull_request:
# types:
# - opened
# - reopened
# - synchronize
# - closed
permissions:
contents: write
pages: write
pull-requests: write
concurrency: ci-${{ github.ref }}
jobs:
build-deploy-and-preview:
name: Build, Deploy to GitHub Pages and Deploy PR Preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install docs dependencies.
run: pip install -r docs/requirements-docs.txt
- name: Auto generate API Reference.
run: cd docs && pydoc-markdown
- name: Build, Deploy to GitHub Pages and Deploy PR Preview
uses: chvmvd/[email protected]
with:
type: docusaurus