We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b772eee commit 89948afCopy full SHA for 89948af
.github/workflows/production.yml
@@ -80,13 +80,17 @@ jobs:
80
key: ${{ runner.os }}-gatsby-cache-docs-staging-${{ steps.calc-cache-key.outputs.key }}
81
restore-keys: |
82
${{ runner.os }}-gatsby-cache-docs-staging-
83
- lookup-only: ${{ inputs.nocache }}
84
85
- name: Clean up temporary files
86
run: |
87
sudo rm -rf /tmp/*
88
sudo rm -rf /home/runner/work/_temp/*
89
+ - name: Clean cache
90
+ if: ${{ inputs.nocache }}
91
+ run: |
92
+ yarn clean
93
+
94
- name: Build website
95
if: ${{ !inputs.fallback || (steps.gatsby-cache.outputs.cache-hit != 'true') }}
96
env:
0 commit comments