From 18a764bdb5ee30bb8ab954f71b5d6dd8aa1b76bd Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Thu, 21 Apr 2022 12:22:22 -0600 Subject: [PATCH] Fix #465, Reject CI doc deployment request if using cache --- .github/workflows/build-deploy-doc.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-deploy-doc.yml b/.github/workflows/build-deploy-doc.yml index 620172ca7..acd672db8 100644 --- a/.github/workflows/build-deploy-doc.yml +++ b/.github/workflows/build-deploy-doc.yml @@ -58,6 +58,12 @@ jobs: target: ${{ fromJson(inputs.target) }} steps: + - name: Reject non-compatible deployment settings + if: ${{ inputs.deploy == true && inputs.cache-key != '' }} + run: | + echo "Deployment when using cache not supported due to password fail issue" + exit -1 + - name: Get cache if supplied id: cache-src-bld if: ${{ inputs.cache-key != '' }}