From 8fb761b43ab8526bd4c0b05376e2171059313db4 Mon Sep 17 00:00:00 2001 From: Simon Heybrock Date: Thu, 19 May 2022 16:11:45 +0200 Subject: [PATCH] See https://github.com/github/feedback/discussions/9343 --- .github/workflows/docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f5df7c9f..07db3c23 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -33,16 +33,16 @@ jobs: - run: python -m pip install --upgrade pip - run: python -m pip install -r requirements/ci.txt - run: tox --skip-pkg-install -e docs2 scippnexus - if: ${{ github.event.inputs.publish || inputs.publish }} + if: ${{ github.event.inputs.publish == 'true' || inputs.publish }} - run: tox -e docs2 - if: ${{ !(github.event.inputs.publish || inputs.publish) }} + if: ${{ !(github.event.inputs.publish == 'true' || inputs.publish) }} - uses: actions/upload-artifact@v3 with: name: html path: html/ - uses: JamesIves/github-pages-deploy-action@v4.3.3 - if: ${{ github.event.inputs.publish || inputs.publish }} + if: ${{ github.event.inputs.publish == 'true' || inputs.publish }} with: branch: gh-pages folder: html