From ee1f80d5f5f3f1f2b39dfd56ca81038790e34eb4 Mon Sep 17 00:00:00 2001 From: reggie Date: Fri, 11 Oct 2024 20:42:38 -0500 Subject: [PATCH] I don't think `if` directives need to use ${{}} --- .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 2caa14d3..9a944aee 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -33,7 +33,7 @@ jobs: steps: - name: Print inputs - if: ${{ github.event_name == 'workflow_dispatch' }} + if: github.event_name == 'workflow_dispatch' run: | echo "Inputs: ${{ toJson(inputs) }}" @@ -65,7 +65,7 @@ jobs: mkdocs build 2>&1 | tee mkdocs-output.log - name: Annotate Warnings and Errors - if: always() && ${{ steps.build_docs.outcome != 'skipped' }} + if: always() && steps.build_docs.outcome != 'skipped' run: | warnings=$(grep -i 'WARNING' mkdocs-output.log || true) errors=$(grep -i 'ERROR' mkdocs-output.log || true) @@ -88,5 +88,5 @@ jobs: fi - name: Deploy to GitHub Pages - if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' && github.event.inputs.deploy == 'true' }} + if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' && github.event.inputs.deploy == 'true' run: mkdocs gh-deploy --force