Skip to content

build: fix GitHub gradle actions #113

build: fix GitHub gradle actions

build: fix GitHub gradle actions #113

Workflow file for this run

name: Sphinx Pages
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
types:
- closed
permissions: write-all
jobs:
docs:
if_merged:

Check failure on line 13 in .github/workflows/sphinx.yml

View workflow run for this annotation

GitHub Actions / Sphinx Pages

Invalid workflow file

The workflow is not valid. .github/workflows/sphinx.yml (Line: 13, Col: 5): Unexpected value 'if_merged'
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
- name: Install XSLT Processor
run: sudo apt-get install xsltproc sphinx-common
- name: Install dependencies
run: pip install furo myst_parser sphinx-prompt sphinx_substitution_extensions sphinx_issues sphinx_inline_tabs pygments
- name: Checkout project sources
uses: actions/checkout@v2
with:
ref: master
fetch-depth: 0
- name: Setup Gradle
uses: gradle/[email protected]
- name: Run build with Gradle Wrapper
run: FLOATING_TOC=false gradle --no-build-cache clean xmldoc sphinx
- name: Deploy
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: 'build/sphinx'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1