From 65721ad90006eaf156791dddd880af73698d025e Mon Sep 17 00:00:00 2001 From: Gourav Khunger Date: Thu, 29 Jun 2023 15:44:01 +0530 Subject: [PATCH] fix(publish-site.yml): invalid condition for using build cache --- .github/workflows/publish-site.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-site.yml b/.github/workflows/publish-site.yml index 7369d44d..6caf7e90 100644 --- a/.github/workflows/publish-site.yml +++ b/.github/workflows/publish-site.yml @@ -7,9 +7,8 @@ on: workflow_dispatch: inputs: cache: - description: "Don't use jekyll cache" - required: false type: boolean + description: "Don't use jekyll cache" jobs: publish: @@ -63,7 +62,7 @@ jobs: run: npm install - name: Restore/cache .jekyll-cache folder - if: github.event_name == 'push' || inputs.cache == 'false' + if: github.event_name == 'push' || github.event.inputs.cache == 'false' id: jekyll-cache uses: actions/cache@v3 with: