Skip to content

build docs pr

build docs pr #2

Workflow file for this run

name: Publish private b3d.gen.dev
on:
pull_request:
push:
branches:
- aaron/pixi
permissions:
id-token: write
jobs:
prepare:
strategy:
matrix:
runner: [ParallelHoss]
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- name: Authenticate gcloud
id: auth
uses: google-github-actions/auth@v2
with:
credentials_json: "${{ secrets.ARTIFACT_REGISTRY_KEY }}"
- name: Setup gcloud
uses: google-github-actions/setup-gcloud@v2
- name: Run pixi update
run: |
# install pixi
curl -fsSL https://pixi.sh/install.sh | bash
export PATH=/home/runner/.pixi/bin:$PATH
# install pipx and inject gcp backend
pixi global install pipx
pipx install keyring
pipx inject keyring \
keyrings.google-artifactregistry-auth \
--index-url \
https://pypi.org/simple
# build docs
pixi run docs
- name: Prepend timestamp to index.html
run: |
echo "Published at: $(date)<br/>" | cat - ./docs/static/index.html > temp && mv temp ./docs/static/index.html
- name: Create website artifact
uses: actions/upload-artifact@v4
with:
name: website
path: ./docs/static
publish:

Check failure on line 58 in .github/workflows/pdoc.yml

View workflow run for this annotation

GitHub Actions / Publish private b3d.gen.dev

Invalid workflow file

The workflow is not valid. .github/workflows/pdoc.yml (Line: 58, Col: 3): Error calling workflow 'probcomp/gen-website-private/.github/workflows/publish_private_website.yml@main'. The nested job 'Deploy' is requesting 'contents: read', but is only allowed 'contents: none'.
needs: prepare
uses: probcomp/gen-website-private/.github/workflows/publish_private_website.yml@main
with:
artifact: website