Skip to content

Add connector to project full name (#41) #6

Add connector to project full name (#41)

Add connector to project full name (#41) #6

Workflow file for this run

name: "Sphinx: Render docs"
on:
push:
branches:
- main
jobs:
run-ci:
name: Run CI
uses: ./.github/workflows/ci.yml
build:
name: Build Docs
needs: run-ci
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Download distributions
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16
with:
name: dists
path: dist/
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
python -m pip install --no-index --find-links=dist azstoragetorch
- name: Build HTML
run: sphinx-build -b html doc/sphinx doc/sphinx/build/html
- name: Add .nojekyll file
run: echo > doc/sphinx/build/html/.nojekyll
- name: Upload artifacts
uses: actions/upload-pages-artifact@2d163be3ddce01512f3eea7ac5b7023b5d643ce1
with:
name: github-pages
path: doc/sphinx/build/html/
deploy:
name: Deploy Docs
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@854d7aa1b99e4509c4d1b53d69b7ba4eaf39215a