Skip to content

fix: inverted course enabled check in get_all_modules #6

fix: inverted course enabled check in get_all_modules

fix: inverted course enabled check in get_all_modules #6

Workflow file for this run

name: Generate API Docs
on:
push:
branches:
- LP-55-Backend-Refactor # This is temporary and will be replaced by `main` once the refactor is complete
workflow_dispatch: # For manual triggering
jobs:
generate-api-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
ref: LP-55-Backend-Refactor # This is temporary and will be replaced by `main` once the refactor is complete
path: moodle
- name: Checkout docs repo
uses: actions/checkout@v3
with:
repository: 'necodeIT/lb_planner_docs'
ref: main
clean: false
path: docs
persist-credentials: false
fetch-depth: 0
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.12'
- name: Generate docs
working-directory: moodle
run: python document_services.py ../docs/moodle
- name: Push new documentation to docs repo
working-directory: docs
uses: Andro999b/[email protected]

Check failure on line 41 in .github/workflows/gen_docs.yaml

View workflow run for this annotation

GitHub Actions / Generate API Docs

Invalid workflow file

The workflow is not valid. .github/workflows/gen_docs.yaml (Line: 41, Col: 9): Unexpected value 'uses' .github/workflows/gen_docs.yaml (Line: 42, Col: 9): Unexpected value 'with'
with:
github_token: ${{ secrets.REPO_DOCS_TOKEN }}
repository: 'necodeIT/lb_planner_docs'
branch: main
message: "GitHub Actions - Update Web Service Documentation to ${{ github.sha }}"