Skip to content

Trying to fix deployment of pages #4

Trying to fix deployment of pages

Trying to fix deployment of pages #4

Workflow file for this run

name: Build and deploy docs
on:
push:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Installing package and dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install sphinx
pip install myst_parser
- name: Building HTML docs
run: make -C docs html
- name: Commit files
run: |
echo ${{ github.ref }}
git add docs/
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "CI: Automated build push" -a | exit 0
- name: Push changes
run: git push origin main
with:

Check failure on line 44 in .github/workflows/static.yml

View workflow run for this annotation

GitHub Actions / Build and deploy docs

Invalid workflow file

The workflow is not valid. .github/workflows/static.yml (Line: 44, Col: 7): Unexpected value 'with'
github_token: ${{ secrets.GITHUB_TOKEN }}
deploy:
needs: build
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@v4