Skip to content

try to deploy

try to deploy #5

Workflow file for this run

name: Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
pdocs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
- run: pip install maturin pdoc
- run: maturin build
- run: pip install --no-index --find-links target/wheels/ dwat
- run: pdoc -o docs/ python_stubs/dwat
- uses: actions/upload-pages-artifact@v1
with:
path: docs/
deploy:
if: github.ref == 'refs/heads/main'
needs: build

Check failure on line 36 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 36, Col: 12): Job 'deploy' depends on unknown job '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@v2