We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d490dcc commit 2b44de1Copy full SHA for 2b44de1
.github/workflows/pr-preview.yml
@@ -1,5 +1,7 @@
1
name: PR Preview
2
on:
3
+ schedule:
4
+ - cron: 0 0 */6 * *
5
issue_comment:
6
types: [created]
7
pull_request_target:
@@ -11,6 +13,16 @@ env:
11
13
GITHUB_PR_NUMBER: ${{ github.event_name == 'issue_comment' && github.event.issue.number || github.event.pull_request.number }}
12
14
JEKYLL_ENV: production
15
jobs:
16
+ cache-refresh:
17
+ if: ${{ !github.event.repository.fork && github.event_name == 'schedule' && github.event.schedule == '0 0 */6 * *' }}
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: Cache Refresh
21
+ uses: actions/cache/restore@v4
22
+ with:
23
+ key: pages-${{ github.run_id }}
24
+ path: /home/runner/gh-pages
25
+ restore-keys: pages-
26
preview-remove:
27
if:
28
${{
0 commit comments