Skip to content

Add docs-folder to git action yaml #203

Add docs-folder to git action yaml

Add docs-folder to git action yaml #203

Workflow file for this run

name: Land DA automatic documentation build
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Build HTML
uses: actions/setup-python@v3
with:
python-version: '3.x'
uses: ammaraskar/sphinx-action@master

Check failure on line 20 in .github/workflows/auto_doc.yml

View workflow run for this annotation

GitHub Actions / Land DA automatic documentation build

Invalid workflow file

The workflow is not valid. .github/workflows/auto_doc.yml (Line: 20, Col: 7): 'uses' is already defined .github/workflows/auto_doc.yml (Line: 21, Col: 7): 'with' is already defined
with:
docs-folder: "doc/"
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: html-docs
path: doc/build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/develop'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: doc/build/html/