docs: A380X API Page #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build-preview.yml | |
name: PR Build Preview for Cloudflare | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
build-preview: | |
runs-on: ubuntu-latest | |
name: Build Preview Site and Upload Build Artifact | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install requirements | |
run: pip install -r requirements.txt | |
- name: Build PR | |
run: mkdocs build | |
# Uploads the build directory as a workflow artifact | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: preview-build | |
path: site |