Skip to content

Update docs workflow #48

Update docs workflow

Update docs workflow #48

Workflow file for this run

name: Generate docs
on:
push:
branches:
- master
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Clone wiki
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}.wiki
- name: Clone project
uses: actions/checkout@v4
with:
path: addon
- name: Parse and generate docs
uses: p3lim/lua-doc-parser@v2
working-directory: addon

Check failure on line 24 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / Generate docs

Invalid workflow file

The workflow is not valid. .github/workflows/docs.yml (Line: 24, Col: 9): Unexpected value 'working-directory'
with:
output: ${{ github.workspace }}
- name: Setup Git
run: |
git config user.name 'github-actions[bot]'
git config user.email "<41898282+github-actions[bot]@users.noreply.github.com>"
- name: Commit and push docs
run: |
git add *.md
git diff --quiet HEAD || git commit -m '${{ github.sha }}'
git push