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: