Skip to content

tunneld: Reach remote and federated tunnelds over the /connect bridge #223

tunneld: Reach remote and federated tunnelds over the /connect bridge

tunneld: Reach remote and federated tunnelds over the /connect bridge #223

Workflow file for this run

name: docs
on:
push:
branches: [master]
paths:
- "docs/**"
- "mkdocs.yml"
- "pymobiledevice3/**"
- ".github/workflows/docs.yml"
pull_request:
paths:
- "docs/**"
- "mkdocs.yml"
- ".github/workflows/docs.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[docs]"
- name: Build (strict)
run: python -m mkdocs build --strict
- name: Upload site artifact
if: github.ref == 'refs/heads/master'
uses: actions/upload-pages-artifact@v3
with:
path: site
deploy:
# Only deploy from master; PRs just run the strict build above as a check.
if: github.ref == 'refs/heads/master'
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4