Skip to content

Update sphinx_publish.yml #11

Update sphinx_publish.yml

Update sphinx_publish.yml #11

name: Deploy Sphinx documentation to Pages
# Runs on pushes targeting the default branch
on:
push:
branches: [main]
# Cancel any in-progress job or run
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
pages:
runs-on: ubuntu-20.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: Install Conda environment with Micromamba
uses: mamba-org/setup-micromamba@v1

Check failure on line 27 in .github/workflows/sphinx_publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sphinx_publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
with:
environment-file: deps.yml
environment-name: multibody-book
cache-environment: true
cache-downloads: true
- id: deployment
uses: sphinx-notes/pages@v3