Skip to content

test docs build

test docs build #100

Workflow file for this run

name: main
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
paths-ignore:
- ".github/**"
- "!.github/workflows/main.yml"
- "docs/**"
- "*.md"
- ".git*"
jobs:
docs:

Check failure on line 16 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / main

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 16, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs:
- run
container:
image: condaforge/mambaforge
volumes:
- ${{ github.workspace }}:/github/workspace
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Dependencies
run: mamba install -y make
- name: Install Library
run: pip install --upgrade pip && pip install --use-deprecated=legacy-resolver '.[dev]'
- name: Download 'internals' artifact
uses: actions/download-artifact@master
with:
name: internals
path: ./internals
- name: Download 'examples' artifact
uses: actions/download-artifact@master
with:
name: examples
path: ./examples
- name: Build docs
run: cd docs && make html
- name: Store artifacts
uses: actions/upload-artifact@master
with:
name: docs
path: /github/workspace/docs/build/html
pages:
runs-on: ubuntu-latest
needs:
- docs
steps:
- name: Checkout
uses: actions/checkout@master
- name: Download 'docs' artifact
uses: actions/download-artifact@master
with:
name: docs
path: docs/build/html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
branch: pages
folder: docs/build/html